|
|||||||||
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.youtube.YtDuration
public class YtDuration
Duration class.
This completes the duration field in
MediaContent
and is
useful when there is no MediaContent.
This tag should go inside MediaGroup, next to media:player
Constructor Summary | |
---|---|
YtDuration()
Creates an empty duration tag. |
|
YtDuration(long seconds)
Creates and initializes a duration tag. |
Method Summary | |
---|---|
long |
getSeconds()
Gets duration in seconds. |
void |
setSeconds(long seconds)
Sets duration in seconds. |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public YtDuration()
public YtDuration(long seconds)
Method Detail |
---|
public long getSeconds()
public void setSeconds(long seconds)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |