KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > iTunes > def > IITUserPlaylist


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

9 @IID("{0A504DED-A0B5-465A-8A94-50E20D7DF692}")
10 public interface IITUserPlaylist extends IITPlaylist {
11     /**
12      * Add the specified file path to the user playlist.
13      */

14     @VTID(30)
15     IITOperationStatus addFile(
16         java.lang.String JavaDoc filePath);
17
18     /**
19      * Add the specified array of file paths to the user playlist. filePaths can be of type VT_ARRAY|VT_VARIANT, where each entry is a VT_BSTR, or VT_ARRAY|VT_BSTR. You can also pass a JScript Array object.
20      */

21     @VTID(31)
22     IITOperationStatus addFiles(
23         java.lang.Object JavaDoc filePaths);
24
25     /**
26      * Add the specified streaming audio URL to the user playlist.
27      */

28     @VTID(32)
29     IITURLTrack addURL(
30         java.lang.String JavaDoc uRL);
31
32     /**
33      * Add the specified track to the user playlist. iTrackToAdd is a VARIANT of type VT_DISPATCH that points to an IITTrack.
34      */

35     @VTID(33)
36     IITTrack addTrack(
37         java.lang.Object JavaDoc iTrackToAdd);
38
39     /**
40      * True if the user playlist is being shared.
41      */

42     @VTID(34)
43     boolean shared();
44
45     /**
46      * True if the user playlist is being shared.
47      */

48     @VTID(35)
49     void shared(
50         boolean isShared);
51
52     /**
53      * True if the this is a smart playlist.
54      */

55     @VTID(36)
56     boolean smart();
57
58 }
59
Popular Tags