Package com.opentok.android
Enum PublisherKit.PublisherKitVideoType
- java.lang.Object
-
- java.lang.Enum<PublisherKit.PublisherKitVideoType>
-
- com.opentok.android.PublisherKit.PublisherKitVideoType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PublisherKit.PublisherKitVideoType>
- Enclosing class:
- PublisherKit
public static enum PublisherKit.PublisherKitVideoType extends java.lang.Enum<PublisherKit.PublisherKitVideoType>
Defines values for thePublisherKit.setPublisherVideoType(PublisherKitVideoType type)
method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PublisherKitVideoTypeCamera
Defines the camera video mode setting for thePublisherKit.setPublisherVideoType(PublisherKitVideoType type)
method.PublisherKitVideoTypeScreen
Defines the screen video mode setting for thePublisherKit.setPublisherVideoType(PublisherKitVideoType type)
method.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getVideoType()
static PublisherKit.PublisherKitVideoType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PublisherKit.PublisherKitVideoType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PublisherKitVideoTypeCamera
public static final PublisherKit.PublisherKitVideoType PublisherKitVideoTypeCamera
Defines the camera video mode setting for thePublisherKit.setPublisherVideoType(PublisherKitVideoType type)
method.
-
PublisherKitVideoTypeScreen
public static final PublisherKit.PublisherKitVideoType PublisherKitVideoTypeScreen
Defines the screen video mode setting for thePublisherKit.setPublisherVideoType(PublisherKitVideoType type)
method.
-
-
Method Detail
-
values
public static PublisherKit.PublisherKitVideoType[] 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 (PublisherKit.PublisherKitVideoType c : PublisherKit.PublisherKitVideoType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PublisherKit.PublisherKitVideoType 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 namejava.lang.NullPointerException
- if the argument is null
-
getVideoType
public int getVideoType()
-
-