PublishingSettingsUpdate class

Updates settings for how and if a CallClient is publishing its media tracks.

Annotations
  • @Freezed(toJson: true)

Constructors

PublishingSettingsUpdate.set({Update<MicrophonePublishingSettingsUpdate>? microphone, Update<CameraPublishingSettingsUpdate>? camera, @JsonKey(toJson: _customAudioMapToJsonUpdate) Map<CustomTrackName, CustomAudioPublishingSettingsUpdate>? customAudio, @JsonKey(toJson: _customVideoMapToJsonUpdate) Map<CustomTrackName, CustomVideoPublishingSettingsUpdate>? customVideo})
Updates publishing settings using specific values.
const
factory

Properties

camera → Update<CameraPublishingSettingsUpdate>?
no setterinherited
copyWith → $PublishingSettingsUpdateCopyWith<PublishingSettingsUpdate>
no setterinherited
customAudio Map<CustomTrackName, MicrophonePublishingSettingsUpdate>?
no setterinherited
customVideo Map<CustomTrackName, CameraPublishingSettingsUpdate>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
microphone → Update<MicrophonePublishingSettingsUpdate>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult set(_PublishingSettingsUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_PublishingSettingsUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_PublishingSettingsUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(Update<MicrophonePublishingSettingsUpdate>? microphone, Update<CameraPublishingSettingsUpdate>? camera, Map<CustomTrackName, MicrophonePublishingSettingsUpdate>? customAudio, Map<CustomTrackName, CameraPublishingSettingsUpdate>? customVideo)?, 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<MicrophonePublishingSettingsUpdate>? microphone, Update<CameraPublishingSettingsUpdate>? camera, Map<CustomTrackName, MicrophonePublishingSettingsUpdate>? customAudio, Map<CustomTrackName, CameraPublishingSettingsUpdate>? customVideo)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(Update<MicrophonePublishingSettingsUpdate>? microphone, Update<CameraPublishingSettingsUpdate>? camera, Map<CustomTrackName, MicrophonePublishingSettingsUpdate>? customAudio, Map<CustomTrackName, CameraPublishingSettingsUpdate>? customVideo)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fromDefaults → const Update<PublishingSettingsUpdate>
Restores publishing settings to their default values.