ChannelMediaOptions class Null safety

The channel media options.

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

ChannelMediaOptions({bool? autoSubscribeAudio, bool? autoSubscribeVideo, bool? publishLocalAudio, bool? publishLocalVideo})
Constructs a ChannelMediaOptions

Properties

autoSubscribeAudio bool?
Determines whether to subscribe to audio streams when the user joins the channel. [...]
@JsonKey(includeIfNull: false), read / write
autoSubscribeVideo bool?
Determines whether to subscribe to video streams when the user joins the channel. [...]
@JsonKey(includeIfNull: false), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
publishLocalAudio bool?
Determines whether to publish the local audio stream when the user joins a channel [...]
@JsonKey(includeIfNull: false), read / write
publishLocalVideo bool?
Determines whether to publish the local video stream when the user joins a channel: [...]
@JsonKey(includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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