本文整理匯總了Java中com.dropbox.client2.DropboxAPI.DropboxLink類的典型用法代碼示例。如果您正苦於以下問題:Java DropboxLink類的具體用法?Java DropboxLink怎麽用?Java DropboxLink使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
DropboxLink類屬於com.dropbox.client2.DropboxAPI包,在下文中一共展示了DropboxLink類的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: CloudSongMetadata
import com.dropbox.client2.DropboxAPI.DropboxLink; //導入依賴的package包/類
/**
* @param duration Length of the song in milliseconds.
*/
public CloudSongMetadata(
DropboxLink streamingLink, String dbPath,
String revision, float rgAlbum, float rgTrack,
String title, String artist, String album, long duration, int trackNumber) {
this.path = streamingLink == null ? null : streamingLink.url;
this.dbPath = dbPath;
this.revision = revision;
this.expires = streamingLink == null ? null : streamingLink.expires;
this.rgAlbum = rgAlbum;
this.rgTrack = rgTrack;
this.title = title;
this.album = album;
this.artist = artist;
this.duration = duration;
this.trackNumber = trackNumber;
}