KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > iTunes > def > IITPlaylist


1 // GENERATED. DO NOT MODIFY
2
package iTunes.def;
3
4 import com4j.*;
5
6 /**
7  * IITPlaylist Interface
8  */

9 @IID("{3D5E072F-2A77-4B17-9E73-E03B77CCCCA9}")
10 public interface IITPlaylist extends IITObject {
11     /**
12      * Delete this playlist.
13      */

14     @VTID(15)
15     void delete();
16
17     /**
18      * Start playing the first track in this playlist.
19      */

20     @VTID(16)
21     void playFirstTrack();
22
23     /**
24      * Print this playlist.
25      */

26     @VTID(17)
27     void print(
28         boolean showPrintDialog,
29         ITPlaylistPrintKind printKind,
30         java.lang.String JavaDoc theme);
31
32     /**
33      * Search tracks in this playlist for the specified string.
34      */

35     @VTID(18)
36     IITTrackCollection search(
37         java.lang.String JavaDoc searchText,
38         ITPlaylistSearchField searchFields);
39
40     /**
41      * The playlist kind.
42      */

43     @VTID(19)
44     ITPlaylistKind kind();
45
46     /**
47      * The source that contains this playlist.
48      */

49     @VTID(20)
50     IITSource source();
51
52     /**
53      * The total length of all songs in the playlist (in seconds).
54      */

55     @VTID(21)
56     int duration();
57
58     /**
59      * True if songs in the playlist are played in random order.
60      */

61     @VTID(22)
62     boolean shuffle();
63
64     /**
65      * True if songs in the playlist are played in random order.
66      */

67     @VTID(23)
68     void shuffle(
69         boolean isShuffle);
70
71     /**
72      * The total size of all songs in the playlist (in bytes).
73      */

74     @VTID(24)
75     double size();
76
77     /**
78      * The playback repeat mode.
79      */

80     @VTID(25)
81     ITPlaylistRepeatMode songRepeat();
82
83     /**
84      * The playback repeat mode.
85      */

86     @VTID(26)
87     void songRepeat(
88         ITPlaylistRepeatMode repeatMode);
89
90     /**
91      * The total length of all songs in the playlist (in MM:SS format).
92      */

93     @VTID(27)
94     java.lang.String JavaDoc time();
95
96     /**
97      * True if the playlist is visible in the Source list.
98      */

99     @VTID(28)
100     boolean visible();
101
102     /**
103      * Returns a collection of tracks in this playlist.
104      */

105     @VTID(29)
106     IITTrackCollection tracks();
107
108 }
109
Popular Tags