KKTrackInfo
@interface KKTrackInfo : KKBOXOpenAPIObject
The object represents a track on KKBOX.
-
The ID of the track.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nonnull) NSString *trackID;Swift
var trackID: String { get } -
The name of the track.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nonnull) NSString *trackName;Swift
var trackName: String { get } -
The URL of the webpage of the track.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) NSURL *trackURL;Swift
var trackURL: URL? { get } -
The album that the track belong to.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nullable) KKAlbumInfo *album;Swift
var album: KKAlbumInfo? { get } -
Length of the track.
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSTimeInterval duration;Swift
var duration: TimeInterval { get } -
The track order of the track in an album.
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSInteger trackOrderInAlbum;Swift
var trackOrderInAlbum: Int { get } -
Is the track explicit or not.
Declaration
Objective-C
@property (readonly, assign, nonatomic) BOOL explicitness;Swift
var explicitness: Bool { get } -
The territories that the track is available at.
Declaration
Objective-C
@property (readonly, strong, nonatomic, nonnull) NSSet<NSNumber *> *territoriesThatAvailableAt;Swift
var territoriesThatAvailableAt: Set<NSNumber> { get }
View on GitHub
KKTrackInfo Class Reference