Enum ZegoDeviceExceptionType

    • Enum Constant Detail

      • PERMISSION_NOT_GRANTED

        public static final ZegoDeviceExceptionType PERMISSION_NOT_GRANTED
        Device permission is not granted.
      • ZERO_CAPTURE_FPS

        public static final ZegoDeviceExceptionType ZERO_CAPTURE_FPS
        The capture frame rate of the device is 0.
      • DEVICE_UNPLUGGED

        public static final ZegoDeviceExceptionType DEVICE_UNPLUGGED
        The device is unplugged (not plugged in).
      • REBOOT_REQUIRED

        public static final ZegoDeviceExceptionType REBOOT_REQUIRED
        The device requires the system to restart before it can work (Windows platform only).
      • MEDIA_SERVICES_WERE_LOST

        public static final ZegoDeviceExceptionType MEDIA_SERVICES_WERE_LOST
        The system media service is unavailable, e.g. when the iOS system detects that the current pressure is huge (such as playing a lot of animation), it is possible to disable all media related services (Apple platform only).
      • SIRI_IS_RECORDING

        public static final ZegoDeviceExceptionType SIRI_IS_RECORDING
        The device is being occupied by Siri (Apple platform only).
      • SOUND_LEVEL_TOO_LOW

        public static final ZegoDeviceExceptionType SOUND_LEVEL_TOO_LOW
        The device captured sound level is too low (Windows platform only).
      • MAGNETIC_CASE

        public static final ZegoDeviceExceptionType MAGNETIC_CASE
        The device is being occupied, and maybe cause by iPad magnetic case (Apple platform only).
      • AUDIO_SESSION_DEACTIVE

        public static final ZegoDeviceExceptionType AUDIO_SESSION_DEACTIVE
        Audio session deactive (Apple platform only).
      • AUDIO_SESSION_CATEGORY_CHANGE

        public static final ZegoDeviceExceptionType AUDIO_SESSION_CATEGORY_CHANGE
        Audio session category change (Apple platform only).
    • Method Detail

      • values

        public static ZegoDeviceExceptionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ZegoDeviceExceptionType c : ZegoDeviceExceptionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ZegoDeviceExceptionType valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public int value()