java.lang.Object

java.lang.Enum<PublisherKit.PreferredVideoCodecs.Codec>

com.opentok.android.PublisherKit.PreferredVideoCodecs.Codec

All Implemented Interfaces: : Serializable, Comparable<PublisherKit.PreferredVideoCodecs.Codec>, Constable

Enclosing class: : PublisherKit.PreferredVideoCodecs


public static enum PublisherKit.PreferredVideoCodecs.Codec extends Enum<PublisherKit.PreferredVideoCodecs.Codec>

Supported video codecs.

Nested Class Summary

Nested classes/interfaces inherited from class java.lang.Enum

Enum.EnumDesc<E extends Enum<E>>

Enum Constant Summary

Enum Constants

Enum Constant

Description

H264

Video codec type for H264.

VP8

Video codec type for VP8.

VP9

Video codec type for VP9.

Field Summary

Fields

Modifier and Type

Field

Description

final int

value

Method Summary

All MethodsStatic MethodsConcrete Methods

Modifier and Type

Method

Description

static PublisherKit.PreferredVideoCodecs.Codec

valueOf(String name)

Returns the enum constant of this class with the specified name.

static PublisherKit.PreferredVideoCodecs.Codec[]

values()

Returns an array containing the constants of this enum class, in the order they are declared.

Methods inherited from class java.lang.Enum

clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

Methods inherited from class java.lang.Object

getClass, notify, notifyAll, wait, wait, wait

Enum Constant Details

VP8

public static final PublisherKit.PreferredVideoCodecs.Codec VP8

Video codec type for VP8.

H264

public static final PublisherKit.PreferredVideoCodecs.Codec H264

Video codec type for H264.

VP9

public static final PublisherKit.PreferredVideoCodecs.Codec VP9

Video codec type for VP9.

Field Details

value

public final int value

Method Details

values

public static PublisherKit.PreferredVideoCodecs.Codec[] 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

public static PublisherKit.PreferredVideoCodecs.Codec valueOf(String name)

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 name : NullPointerException - if the argument is null