PlaySourceType Class

public final class PlaySourceType
extends ExpandableStringEnum<PlaySourceType>

Defines values for PlaySourceType.

Field Summary

Modifier and Type Field and Description
static final PlaySourceType FILE

Static value file for PlaySourceType.

Constructor Summary

Constructor Description
PlaySourceType()

Deprecated

Please use fromString(String name) to create an instance of PlaySourceType.

Creates an instance of PlaySourceType with no string value.

Method Summary

Modifier and Type Method and Description
static PlaySourceType fromString(String name)

Creates or finds a PlaySourceType from its string representation.

static Collection<PlaySourceType> values()

Get the collection of PlaySourceType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

FILE

public static final PlaySourceType FILE

Static value file for PlaySourceType.

Constructor Details

PlaySourceType

@Deprecated
public PlaySourceType()

Deprecated

Please use fromString(String name) to create an instance of PlaySourceType.

Creates an instance of PlaySourceType with no string value.

Method Details

fromString

public static PlaySourceType fromString(String name)

Creates or finds a PlaySourceType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PlaySourceType.

values

public static Collection<PlaySourceType> values()

Get the collection of PlaySourceType values.

Returns:

known PlaySourceType values.

Applies to