VideoMediaTrackSettingsUpdate class

Updates CallClient settings for a video media track.

Annotations
  • @Freezed(toJson: true)

Constructors

VideoMediaTrackSettingsUpdate.set({Update<DeviceId>? deviceId, Update<int>? width, Update<int>? height, Update<double>? frameRate, MediaTrackFacingModeUpdate? facingMode})
Updates track settings using specific values.
const
factory

Properties

copyWith → $VideoMediaTrackSettingsUpdateCopyWith<VideoMediaTrackSettingsUpdate>
no setterinherited
deviceId → Update<DeviceId>?
no setterinherited
facingMode MediaTrackFacingModeUpdate?
no setterinherited
frameRate → Update<double>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
height → Update<int>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width → Update<int>?
no setterinherited

Methods

map<TResult extends Object?>({required TResult set(_VideoMediaTrackSettingsUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_VideoMediaTrackSettingsUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_VideoMediaTrackSettingsUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(Update<DeviceId>? deviceId, Update<int>? width, Update<int>? height, Update<double>? frameRate, MediaTrackFacingModeUpdate? facingMode)?, 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<DeviceId>? deviceId, Update<int>? width, Update<int>? height, Update<double>? frameRate, MediaTrackFacingModeUpdate? facingMode)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(Update<DeviceId>? deviceId, Update<int>? width, Update<int>? height, Update<double>? frameRate, MediaTrackFacingModeUpdate? facingMode)?}) → TResult?
inherited

Operators

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

Constants

fromDefaults → const Update<VideoMediaTrackSettingsUpdate>
Restores track settings to their default values.