@Deprecated public enum MediaType extends Enum<MediaType>
Enum Constant and Description |
---|
MESSAGING
Deprecated.
Messages that include texts or static images.
|
VOICE_CALL
Deprecated.
Voice calls transferred in telephony system.
|
Modifier and Type | Method and Description |
---|---|
static MediaType |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MediaType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaType MESSAGING
public static final MediaType VOICE_CALL
public static MediaType[] values()
for (MediaType c : MediaType.values()) System.out.println(c);
public static MediaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006, 2017 Oracle and/or its affiliates. All rights reserved.