im.zego.zegoexpress.constants.ZegoRemoteDeviceState

Remote device status.

Declared in constants/ZegoRemoteDeviceState.java

Public-Attrib Lists

  • OPEN - Device on.
  • GENERIC_ERROR - General device error.
  • INVALID_ID - Invalid device ID.
  • NO_AUTHORIZATION - No permission.
  • ZERO_FPS - Captured frame rate is 0.
  • IN_USE_BY_OTHER - The device is occupied.
  • UNPLUGGED - The device is not plugged in or unplugged.
  • REBOOT_REQUIRED - The system needs to be restarted.
  • SYSTEM_MEDIA_SERVICES_LOST - 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 - Capturing disabled.
  • MUTE - The remote device is muted.
  • INTERRUPTION - The device is interrupted, such as a phone call interruption, etc.
  • IN_BACKGROUND - 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.
  • MULTI_FOREGROUND_APP - CDN server actively disconnected.
  • BY_SYSTEM_PRESSURE - The system is under high load pressure and may cause abnormal equipment.

Public-Func Lists

Public-Static-Func Lists

Public-Attrib Docs

OPEN

public OPEN ()

Initial: OPEN =(0)

Device on.

GENERIC_ERROR

public GENERIC_ERROR ()

Initial: GENERIC_ERROR =(1)

General device error.

INVALID_ID

public INVALID_ID ()

Initial: INVALID_ID =(2)

Invalid device ID.

NO_AUTHORIZATION

public NO_AUTHORIZATION ()

Initial: NO_AUTHORIZATION =(3)

No permission.

ZERO_FPS

public ZERO_FPS ()

Initial: ZERO_FPS =(4)

Captured frame rate is 0.

IN_USE_BY_OTHER

public IN_USE_BY_OTHER ()

Initial: IN_USE_BY_OTHER =(5)

The device is occupied.

UNPLUGGED

public UNPLUGGED ()

Initial: UNPLUGGED =(6)

The device is not plugged in or unplugged.

REBOOT_REQUIRED

public REBOOT_REQUIRED ()

Initial: REBOOT_REQUIRED =(7)

The system needs to be restarted.

SYSTEM_MEDIA_SERVICES_LOST

public SYSTEM_MEDIA_SERVICES_LOST ()

Initial: SYSTEM_MEDIA_SERVICES_LOST =(8)

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

public DISABLE ()

Initial: DISABLE =(9)

Capturing disabled.

MUTE

public MUTE ()

Initial: MUTE =(10)

The remote device is muted.

INTERRUPTION

public INTERRUPTION ()

Initial: INTERRUPTION =(11)

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

IN_BACKGROUND

public IN_BACKGROUND ()

Initial: IN_BACKGROUND =(12)

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.

MULTI_FOREGROUND_APP

public MULTI_FOREGROUND_APP ()

Initial: MULTI_FOREGROUND_APP =(13)

CDN server actively disconnected.

BY_SYSTEM_PRESSURE

public BY_SYSTEM_PRESSURE ()

Initial: BY_SYSTEM_PRESSURE =(14)

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

Public-Func Docs

value

public int value ()

Public-Static-Func Docs

getZegoRemoteDeviceState

public ZegoRemoteDeviceState getZegoRemoteDeviceState (int value)