本文整理了Java中com.google.gdata.data.youtube.YtPosition
类的一些代码示例,展示了YtPosition
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。YtPosition
类的具体详情如下:
包路径:com.google.gdata.data.youtube.YtPosition
类名称:YtPosition
[英]Object representation for the yt:position tag.
[中]yt:position标记的对象表示。
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Gets the 0-based position of this entry in the playlist.
*
* @return the position or null if not found
*/
public Integer getPosition() {
YtPosition position = getExtension(YtPosition.class);
return position == null ? null : position.getPosition();
}
代码示例来源:origin: com.mulesoft.google/google-api-gdata
/**
* Sets the 0-based position of this entry in the playlist.
*
* @param position the new position
*/
public void setPosition(Integer position) {
if (position == null) {
removeExtension(YtPosition.class);
} else {
setExtension(new YtPosition(position));
}
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Sets the 0-based position of this entry in the playlist.
*
* @param position the new position
*/
public void setPosition(Integer position) {
if (position == null) {
removeExtension(YtPosition.class);
} else {
setExtension(new YtPosition(position));
}
}
代码示例来源:origin: com.google.gdata/gdata-java-client
/**
* Gets the 0-based position of this entry in the playlist.
*
* @return the position or null if not found
*/
public Integer getPosition() {
YtPosition position = getExtension(YtPosition.class);
return position == null ? null : position.getPosition();
}
内容来源于网络,如有侵权,请联系作者删除!