|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.photos.GphotoOriginalVideo
public class GphotoOriginalVideo
The original video info field.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
|---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
| Constructor Summary | |
|---|---|
GphotoOriginalVideo()
Default mutable constructor. |
|
GphotoOriginalVideo(java.lang.Integer channels,
java.lang.Long duration,
java.lang.Integer height,
java.lang.Float samplingrate,
java.lang.String type,
java.lang.Integer width)
Immutable constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Integer |
getChannels()
Returns the number of audio channels. |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
java.lang.Long |
getDuration()
Returns the video playback duration in milliseconds. |
java.lang.Integer |
getHeight()
Returns the video height. |
java.lang.Float |
getSamplingrate()
Returns the audio sample rate in kHz. |
java.lang.String |
getType()
Returns the video format type. |
java.lang.Integer |
getWidth()
Returns the video width. |
boolean |
hasChannels()
Returns whether it has the number of audio channels. |
boolean |
hasDuration()
Returns whether it has the video playback duration in milliseconds. |
int |
hashCode()
|
boolean |
hasHeight()
Returns whether it has the video height. |
boolean |
hasSamplingrate()
Returns whether it has the audio sample rate in kHz. |
boolean |
hasType()
Returns whether it has the video format type. |
boolean |
hasWidth()
Returns whether it has the video width. |
void |
setChannels(java.lang.Integer channels)
Sets the number of audio channels. |
void |
setDuration(java.lang.Long duration)
Sets the video playback duration in milliseconds. |
void |
setHeight(java.lang.Integer height)
Sets the video height. |
void |
setSamplingrate(java.lang.Float samplingrate)
Sets the audio sample rate in kHz. |
void |
setType(java.lang.String type)
Sets the video format type. |
void |
setWidth(java.lang.Integer width)
Sets the video width. |
java.lang.String |
toString()
|
| Methods inherited from class com.google.gdata.data.ExtensionPoint |
|---|
addExtension, addRepeatingExtension, declareExtensions, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
| Methods inherited from class com.google.gdata.data.AbstractExtension |
|---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GphotoOriginalVideo()
public GphotoOriginalVideo(java.lang.Integer channels,
java.lang.Long duration,
java.lang.Integer height,
java.lang.Float samplingrate,
java.lang.String type,
java.lang.Integer width)
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.| Method Detail |
|---|
public java.lang.Integer getChannels()
public void setChannels(java.lang.Integer channels)
channels - number of audio channels or null to resetpublic boolean hasChannels()
public java.lang.Long getDuration()
public void setDuration(java.lang.Long duration)
duration - video playback duration in milliseconds or
null to resetpublic boolean hasDuration()
public java.lang.Integer getHeight()
public void setHeight(java.lang.Integer height)
height - video height or null to resetpublic boolean hasHeight()
public java.lang.Float getSamplingrate()
public void setSamplingrate(java.lang.Float samplingrate)
samplingrate - audio sample rate in kHz or null to resetpublic boolean hasSamplingrate()
public java.lang.String getType()
public void setType(java.lang.String type)
type - video format type or null to resetpublic boolean hasType()
public java.lang.Integer getWidth()
public void setWidth(java.lang.Integer width)
width - video width or null to resetpublic boolean hasWidth()
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
required - whether it is requiredrepeatable - whether it is repeatable
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||