public static enum MediaLink.Field extends Enum<MediaLink.Field>
Enum Constant and Description |
---|
DURATION
the json field for duration-the length, in seconds, of the media resource.
|
HEIGHT
the json field for the height, in pixels, of the media resource.
|
URL
the json field for url of the media resource being linked.
|
WIDTH
the json field for the width, in pixels, of the media resource.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the name of the JSON element.
|
static MediaLink.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaLink.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MediaLink.Field DURATION
public static final MediaLink.Field HEIGHT
public static final MediaLink.Field URL
public static final MediaLink.Field WIDTH
public static MediaLink.Field[] values()
for (MediaLink.Field c : MediaLink.Field.values()) System.out.println(c);
public static MediaLink.Field 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 nullpublic String toString()
toString
in class Enum<MediaLink.Field>
Copyright © 2024 WSO2. All Rights Reserved.