ZegoRemoteDeviceState enum

Remote device status.

Inheritance
  • Object
  • Enum
  • ZegoRemoteDeviceState

Constructors

ZegoRemoteDeviceState()
const

Values

Open → const ZegoRemoteDeviceState

Device on

GenericError → const ZegoRemoteDeviceState

General device error

InvalidID → const ZegoRemoteDeviceState

Invalid device ID

NoAuthorization → const ZegoRemoteDeviceState

No permission

ZeroFPS → const ZegoRemoteDeviceState

Captured frame rate is 0

InUseByOther → const ZegoRemoteDeviceState

The device is occupied

Unplugged → const ZegoRemoteDeviceState

The device is not plugged in or unplugged

RebootRequired → const ZegoRemoteDeviceState

The system needs to be restarted

SystemMediaServicesLost → const ZegoRemoteDeviceState

System media services stop, such as under the iOS platform, when the system detects that the current pressure is huge (such as playing a lot of animation), it is possible to disable all media related services.

Disable → const ZegoRemoteDeviceState

The remote user calls enableCamera or enableAudioCaptureDevice to disable the camera or microphone.

Mute → const ZegoRemoteDeviceState

The remote user actively calls muteMicrophone or mutePublishStreamAudio or mutePublishStreamVideo to stop publish the audio or video stream.

Interruption → const ZegoRemoteDeviceState

The device is interrupted, such as a phone call interruption, etc.

InBackground → const ZegoRemoteDeviceState

There are multiple apps at the same time in the foreground, such as the iPad app split screen, the system will prohibit all apps from using the camera.

MultiForegroundApp → const ZegoRemoteDeviceState

CDN server actively disconnected

BySystemPressure → const ZegoRemoteDeviceState

The system is under high load pressure and may cause abnormal equipment.

NotSupport → const ZegoRemoteDeviceState

The remote device is not supported to publish the device state.

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<ZegoRemoteDeviceState>
A constant List of the values in this enum, in order of their declaration.
[Open, GenericError, InvalidID, NoAuthorization, ZeroFPS, InUseByOther, Unplugged, RebootRequired, SystemMediaServicesLost, Disable, Mute, Interruption, InBackground, MultiForegroundApp, BySystemPress…