-
Notifications
You must be signed in to change notification settings - Fork 13
/
MPMediaItem-Properties.h
42 lines (29 loc) · 1.3 KB
/
MPMediaItem-Properties.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
Erica Sadun, http://ericasadun.com
iPhone Developer's Cookbook, 3.0 Edition
BSD License, Use at your own risk
*/
#import <MediaPlayer/MediaPlayer.h>
@interface MPMediaItem (Properties)
@property (nonatomic, readonly) long long persistentID;
@property (nonatomic, readonly) NSInteger mediaType;
@property (nonatomic, readonly) NSString *title;
@property (nonatomic, readonly) NSString *albumTitle;
@property (nonatomic, readonly) NSString *artist;
@property (nonatomic, readonly) NSString *albumArtist;
@property (nonatomic, readonly) NSString *genre;
@property (nonatomic, readonly) NSString *composer;
@property (nonatomic, readonly) double playbackDuration;
@property (nonatomic, readonly) NSInteger albumTrackNumber;
@property (nonatomic, readonly) NSInteger albumTrackCount;
@property (nonatomic, readonly) NSInteger discNumber;
@property (nonatomic, readonly) NSInteger discCount;
@property (nonatomic, readonly) UIImage *artwork;
@property (nonatomic, readonly) NSString *lyrics;
@property (nonatomic, readonly) BOOL isCompilation;
@property (nonatomic, readonly) NSString *podcastTitle;
@property (nonatomic, readonly) NSInteger playCount;
@property (nonatomic, readonly) NSInteger skipCount;
@property (nonatomic, readonly) NSInteger rating;
@property (nonatomic, readonly) NSDate *lastPlayedDate;
@end