Enum ZegoDataRecordState

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NO_RECORD
      Unrecorded state, which is the state when a recording error occurs or before recording starts.
      RECORDING
      Recording in progress, in this state after successfully call [startRecordingCapturedData] function
      SUCCESS
      Record successs
    • Enum Constant Detail

      • NO_RECORD

        public static final ZegoDataRecordState NO_RECORD
        Unrecorded state, which is the state when a recording error occurs or before recording starts.
      • RECORDING

        public static final ZegoDataRecordState RECORDING
        Recording in progress, in this state after successfully call [startRecordingCapturedData] function
    • Method Detail

      • values

        public static ZegoDataRecordState[] 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 (ZegoDataRecordState c : ZegoDataRecordState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ZegoDataRecordState 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()
      • getZegoDataRecordState

        public static ZegoDataRecordState getZegoDataRecordState​(int value)