Share via


MediaStreamingContentType Class

public final class MediaStreamingContentType
extends ExpandableStringEnum<MediaStreamingContentType>

Defines values for MediaStreamingContentType.

Field Summary

Modifier and Type Field and Description
static final MediaStreamingContentType AUDIO

Static value audio for MediaStreamingContentType.

Constructor Summary

Constructor Description
MediaStreamingContentType()

Deprecated

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

Creates an instance of MediaStreamingContentType with no string value.

Method Summary

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

Creates or finds a MediaStreamingContentType from its string representation.

static Collection<MediaStreamingContentType> values()

Get the collection of MediaStreamingContentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AUDIO

public static final MediaStreamingContentType AUDIO

Static value audio for MediaStreamingContentType.

Constructor Details

MediaStreamingContentType

@Deprecated
public MediaStreamingContentType()

Deprecated

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

Creates an instance of MediaStreamingContentType with no string value.

Method Details

fromString

public static MediaStreamingContentType fromString(String name)

Creates or finds a MediaStreamingContentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MediaStreamingContentType.

values

public static Collection<MediaStreamingContentType> values()

Get the collection of MediaStreamingContentType values.

Returns:

known MediaStreamingContentType values.

Applies to