本文整理了Java中chameleon.playlist.Media.getDuration()
方法的一些代码示例,展示了Media.getDuration()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Media.getDuration()
方法的具体详情如下:
包路径:chameleon.playlist.Media
类名称:Media
方法名:getDuration
[英]Returns the play duration in milliseconds.
Not supported by all playlist formats.
[中]以毫秒为单位返回播放持续时间。
并非所有播放列表格式都支持。
代码示例来源:origin: com.github.muff1nman.chameleon/core
if (((media2.getDuration() == null) && (media1.getDuration() != null)) ||
((media2.getDuration() != null) && !media2.getDuration().equals(media1.getDuration())))
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-pla
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-plp
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-mpcpl
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-wpl
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-hypetape
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-kpl
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-atom
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-pls
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-m3u
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-b4s
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-xspf
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-rmp
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-asx
if (media.getDuration() != null)
reference.setHref(media.getSource().toString());
if (media.getDuration() != null)
duration.setValue(media.getDuration().longValue());
reference.setDuration(duration);
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-plist
if (media.getDuration() != null)
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-smil
ref.setDuration(media.getDuration());
ref.setRepeatCount(Float.valueOf((float) media.getRepeatCount()));
timingElement.addSmilElement(ref);
代码示例来源:origin: com.github.muff1nman.chameleon/playlist-rss
if (media.getDuration() != null)
内容来源于网络,如有侵权,请联系作者删除!