Package io.agora.rtc2
Enum Class Constants.VideoSourceType
- All Implemented Interfaces:
Serializable,Comparable<Constants.VideoSourceType>,Constable
- Enclosing class:
- Constants
Video source types definition.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionVideo captured by the fourth camera.Video captured by the camera.Video captured by the secondary camera.Video captured by the third camera.Video for external video frameVideo for media player sharing.Remote video received from network.Video for png image.Video for png image.Video for png image.Video for screen sharing.Video for secondary screen sharing.Video for voice drive.Video for transcoded.Not define. -
Method Summary
Modifier and TypeMethodDescriptionstatic Constants.VideoSourceTypefromInt(int v) intgetValue()static intstatic Constants.VideoSourceTypeReturns the enum constant of this class with the specified name.static Constants.VideoSourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
VIDEO_SOURCE_CAMERA_PRIMARY
Video captured by the camera. -
VIDEO_SOURCE_CAMERA_SECONDARY
Video captured by the secondary camera. Not supported by Android -
VIDEO_SOURCE_SCREEN_PRIMARY
Video for screen sharing. -
VIDEO_SOURCE_SCREEN_SECONDARY
Video for secondary screen sharing. Not supported by Android -
VIDEO_SOURCE_CUSTOM
Video for external video frame -
VIDEO_SOURCE_MEDIA_PLAYER
Video for media player sharing. -
VIDEO_SOURCE_RTC_IMAGE_PNG
Video for png image. Not supported by Android -
VIDEO_SOURCE_RTC_IMAGE_JPEG
Video for png image. Not supported by Android -
VIDEO_SOURCE_RTC_IMAGE_GIF
Video for png image. Not supported by Android -
VIDEO_SOURCE_REMOTE
Remote video received from network. Not supported by Android -
VIDEO_SOURCE_TRANSCODED
Video for transcoded. Not supported by Android -
VIDEO_SOURCE_CAMERA_THIRD
Video captured by the third camera. -
VIDEO_SOURCE_CAMERA_FOURTH
Video captured by the fourth camera. -
VIDEO_SOURCE_SPEECH_DRIVEN
Video for voice drive. -
VIDEO_SOURCE_UNKNOWN
Not define.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
getValue
-
fromInt
-