Module webrtc.java

Enum DesktopCapturer.Result

    • Enum Constant Detail

      • ERROR_TEMPORARY

        public static final DesktopCapturer.Result ERROR_TEMPORARY
        There was a temporary error. The caller should continue calling CaptureFrame(), in the expectation that it will eventually recover.
      • ERROR_PERMANENT

        public static final DesktopCapturer.Result ERROR_PERMANENT
        Capture has failed and will keep failing if the caller tries calling CaptureFrame() again.
    • Method Detail

      • values

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

        public static DesktopCapturer.Result valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null