public enum MediaField extends Enum<MediaField> implements EntityField
Enum
to facilitate the selection of fields for Media
.Enum Constant and Description |
---|
AdvertisingId
The Advertising Digital Identification code for this media, as defined by the American Association of Advertising Agencies, used mainly for television commercials.
|
CreationTime
Media creation date in the format YYYY-MM-DD HH:MM:SS+TZ.
|
Dimensions
Various dimension sizes for the media.
|
DurationMillis
The duration of the associated audio, in milliseconds.
|
FileSize
The size of the media file in bytes.
|
Height
Height of the dimension
|
IndustryStandardCommercialIdentifier
The Industry Standard Commercial Identifier code for this media, used mainly for television commercials.
|
MediaId
ID of this media object.
|
MimeType
The mime type of the media.
|
Name
The name of the media.
|
ReadyToPlayOnTheWeb
Indicates whether the audio is ready to play on the web.
|
ReferenceId
Media reference ID key.
|
SourceUrl
The URL of where the original media was downloaded from (or a file name).
|
StreamingUrl
The streaming URL of the audio.
|
Type
Type of media object.
|
Urls
URLs pointing to the resized media for the given sizes.
|
Width
Width of the dimension
|
YouTubeVideoIdString
For YouTube-hosted videos, the YouTube video ID (as seen in YouTube URLs) may also be filled in.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilterable()
If the field is filterable.
|
static MediaField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final MediaField AdvertisingId
public static final MediaField CreationTime
public static final MediaField Dimensions
public static final MediaField DurationMillis
public static final MediaField FileSize
public static final MediaField Height
public static final MediaField IndustryStandardCommercialIdentifier
public static final MediaField MediaId
public static final MediaField MimeType
public static final MediaField Name
public static final MediaField ReadyToPlayOnTheWeb
public static final MediaField ReferenceId
public static final MediaField SourceUrl
public static final MediaField StreamingUrl
public static final MediaField Type
MediaService#upload
to upload a new media file.public static final MediaField Urls
public static final MediaField Width
public static final MediaField YouTubeVideoIdString
public static MediaField[] values()
for (MediaField c : MediaField.values()) System.out.println(c);
public static MediaField 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 boolean isFilterable()
EntityField
isFilterable
in interface EntityField
Copyright © 2018. All Rights Reserved.