CameraPublishingSettingsUpdate class
Updates settings for how and if a CallClient is publishing its video tracks.
- Annotations
-
- @Freezed(toJson: true)
Constructors
-
CameraPublishingSettingsUpdate.set({Update<
bool> ? isPublishing, Update<VideoSendSettingsUpdate> ? sendSettings}) -
Updates video publishing settings using specific values.
constfactory
Properties
-
copyWith
→ $CameraPublishingSettingsUpdateCopyWith<
CameraPublishingSettingsUpdate> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
isPublishing
→ Update<
bool> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sendSettings
→ Update<
VideoSendSettingsUpdate> ? -
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult set(_CameraPublishingSettingsUpdate value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? set(_CameraPublishingSettingsUpdate value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult set(_CameraPublishingSettingsUpdate value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult set(Update< bool> ? isPublishing, Update<VideoSendSettingsUpdate> ? sendSettings)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult set(Update< bool> ? isPublishing, Update<VideoSendSettingsUpdate> ? sendSettings)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? set(Update< bool> ? isPublishing, Update<VideoSendSettingsUpdate> ? sendSettings)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
fromDefaults
→ const Update<
CameraPublishingSettingsUpdate> - Restores video publishing settings to their default values.