Config class
Config Requests
Constructors
- Config(ObsWebSocket obsWebSocket)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- obsWebSocket → ObsWebSocket
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createProfile(
String profileName) → Future< void> - Creates a new profile, switching to it in the process
-
createSceneCollection(
String sceneCollectionName) → Future< void> - Creates a new scene collection, switching to it in the process.
-
getPersistentData(
{required String realm, required String slotName}) → Future< Map< String, dynamic> > - Gets the value of a "slot" from the selected persistent data realm.
-
getProfileList(
) → Future< ProfileListResponse> - Gets an array of all profiles
-
getProfileParameter(
{required String parameterCategory, required String parameterName}) → Future< ProfileParameterResponse> - Gets a parameter from the current profile's configuration.
-
getRecordDirectory(
) → Future< RecordDirectoryResponse> - Gets the current directory that the record output is set to.
-
getSceneCollectionList(
) → Future< SceneCollectionListResponse> - Gets an array of all scene collections
-
getStreamServiceSettings(
) → Future< StreamServiceSettingsResponse> - Gets the current stream service settings (stream destination).
-
getVideoSettings(
) → Future< VideoSettingsResponse> - Gets the current video settings.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordDirectory(
) → Future< RecordDirectoryResponse> - Gets the current directory that the record output is set to.
-
removeProfile(
String profileName) → Future< void> - Removes a profile. If the current profile is chosen, it will change to a different profile first.
-
setCurrentProfile(
String profileName) → Future< void> - Switches to a profile.
-
setCurrentSceneCollection(
String sceneCollectionName) → Future< void> - Switches to a scene collection.
-
setPersistentData(
{required String realm, required String slotName, required dynamic slotValue}) → Future< void> - Sets the value of a "slot" from the selected persistent data realm.
-
setProfileParameter(
{required String parameterCategory, required String parameterName, required String parameterValue}) → Future< void> - Sets the value of a parameter in the current profile's configuration.
-
setStreamServiceSettings(
{required String streamServiceType, required Map< String, dynamic> streamServiceSettings}) → Future<void> - Sets the current stream service settings (stream destination).
-
setVideoSettings(
VideoSettings videoSettings) → Future< void> - Sets the current video settings.
-
streamServiceSettings(
) → Future< StreamServiceSettingsResponse> - Gets the current stream service settings (stream destination).
-
toString(
) → String -
A string representation of this object.
inherited
-
videoSettings(
) → Future< VideoSettingsResponse> - Gets the current video settings.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited