MediaOffReason enum

  • user: The user explicitly wants the media to be off. This occurs when a remote participant sets isEnabled or isPublishing to false, or when a local participant sets isEnabled to false.
  • remoteMute: An admin explicitly wants the media to be off. This occurs when an admin invokes updateRemoteParticipants() to disable another participant's media.
  • bandwidth: The media has been automatically stopped due to bandwidth concerns. This only applies to remote media.
  • sendPermission: The media is off due to the sender lacking proper canSend permission. This only applies to remote media.
Inheritance

Constructors

MediaOffReason()
const

Values

user → const MediaOffReason
remoteMute → const MediaOffReason
bandwidth → const MediaOffReason
sendPermission → const MediaOffReason

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

values → const List<MediaOffReason>
A constant List of the values in this enum, in order of their declaration.