public final class MediaType extends com.azure.core.util.ExpandableStringEnum<MediaType>
| Modifier and Type | Field and Description |
|---|---|
static MediaType |
AUDIO
Static value audio for MediaType.
|
static MediaType |
VIDEO
Static value video for MediaType.
|
| Constructor and Description |
|---|
MediaType() |
| Modifier and Type | Method and Description |
|---|---|
static MediaType |
fromString(String name)
Creates or finds a MediaType from its string representation.
|
static Collection<MediaType> |
values() |
public static final MediaType AUDIO
public static final MediaType VIDEO
public static MediaType fromString(String name)
name - a name to look for.public static Collection<MediaType> values()
Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.