| java.lang.Object | |||
| ↳ | com.google.gdata.data.AbstractExtension | ||
| ↳ | com.google.gdata.data.ExtensionPoint | ||
| ↳ | com.google.gdata.data.photos.GphotoOriginalVideo | ||
The original video info field.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | CHANNELS | XML "channels" attribute name | |||||||||
| String | DURATION | XML "duration" attribute name | |||||||||
| String | HEIGHT | XML "height" attribute name | |||||||||
| String | SAMPLINGRATE | XML "samplingrate" attribute name | |||||||||
| String | TYPE | XML "type" attribute name | |||||||||
| String | WIDTH | XML "width" attribute name | |||||||||
| String | XML_NAME | XML element name | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| channels | Number of audio channels | ||||||||||
| duration | Video playback duration in milliseconds | ||||||||||
| height | Video height | ||||||||||
| samplingrate | Audio sample rate in kHz | ||||||||||
| type | Video format type | ||||||||||
| width | Video width | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Default mutable constructor.
| |||||||||||
Immutable constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the number of audio channels.
| |||||||||||
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
| |||||||||||
Returns the video playback duration in milliseconds.
| |||||||||||
Returns the video height.
| |||||||||||
Returns the audio sample rate in kHz.
| |||||||||||
Returns the video format type.
| |||||||||||
Returns the video width.
| |||||||||||
Returns whether it has the number of audio channels.
| |||||||||||
Returns whether it has the video playback duration in milliseconds.
| |||||||||||
Returns whether it has the video height.
| |||||||||||
Returns whether it has the audio sample rate in kHz.
| |||||||||||
Returns whether it has the video format type.
| |||||||||||
Returns whether it has the video width.
| |||||||||||
Sets the number of audio channels.
| |||||||||||
Sets the video playback duration in milliseconds.
| |||||||||||
Sets the video height.
| |||||||||||
Sets the audio sample rate in kHz.
| |||||||||||
Sets the video format type.
| |||||||||||
Sets the video width.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Consumes attributes from the attribute helper.
| |||||||||||
Puts attributes into the attribute generator.
| |||||||||||
Checks the attributes to see if there are any problems.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gdata.data.ExtensionPoint
| |||||||||||
From class
com.google.gdata.data.AbstractExtension
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.google.gdata.data.Extension
| |||||||||||
XML "channels" attribute name
XML "duration" attribute name
XML "height" attribute name
XML "samplingrate" attribute name
XML "type" attribute name
XML "width" attribute name
XML element name
Number of audio channels
Video playback duration in milliseconds
Video height
Audio sample rate in kHz
Video format type
Video width
Default mutable constructor.
Immutable constructor.
| channels | Number of audio channels. |
|---|---|
| duration | Video playback duration in milliseconds. |
| height | Video height. |
| samplingrate | Audio sample rate in kHz. |
| type | Video format type. |
| width | Video width. |
| obj |
|---|
Returns the number of audio channels.
Returns the extension description, specifying whether it is required, and whether it is repeatable.
| required | Whether it is required |
|---|---|
| repeatable | Whether it is repeatable |
Returns the video playback duration in milliseconds.
Returns the video height.
Returns the audio sample rate in kHz.
Returns the video format type.
Returns the video width.
Returns whether it has the number of audio channels.
Returns whether it has the video playback duration in milliseconds.
Returns whether it has the video height.
Returns whether it has the audio sample rate in kHz.
Returns whether it has the video format type.
Returns whether it has the video width.
Sets the number of audio channels.
| channels | Number of audio channels or null to reset
|
|---|
Sets the video playback duration in milliseconds.
| duration | Video playback duration in milliseconds or
null to reset
|
|---|
Sets the video height.
| height | Video height or null to reset
|
|---|
Sets the audio sample rate in kHz.
| samplingrate | Audio sample rate in kHz or null to reset
|
|---|
Sets the video format type.
| type | Video format type or null to reset
|
|---|
Sets the video width.
| width | Video width or null to reset
|
|---|
Consumes attributes from the attribute helper. May also use
consumeContent(boolean) to consume the element's text
content. Called from getHandler(ExtensionProfile, String, String, Attributes). Default implementation does
nothing, though generally this is discouraged unless there really are no
attributes.
| helper | Attribute helper |
|---|
| ParseException |
|---|
Puts attributes into the attribute generator. Called from
generate(XmlWriter, ExtensionProfile). Default implementation
does nothing, though generally this is discouraged unless there really are
no attributes.
| generator | Attribute generator |
|---|
Checks the attributes to see if there are any problems. Default implementation does nothing, though generally this is discouraged unless there really are no restrictions.