Package com.jitcaforwin.basic.api.enums

Examples of com.jitcaforwin.basic.api.enums.ITUserPlaylistSpecialKind


    }
  }

  public ITUserPlaylistSpecialKind getSpecialKind() throws PlaylistDeletedException {
    try {
      return new ITUserPlaylistSpecialKind(this.iTunesCom.getPropertyAsEnum("SpecialKind"));
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here


   * @throws JitcaException
   *             if an error occurs.
   */
  public static UserPlaylist createUserPlaylist(boolean lazy, UserLibrary library, IITUserPlaylist itPlaylist) {
    try {
      ITUserPlaylistSpecialKind specialKind = ((IITUserPlaylist) itPlaylist).getSpecialKind();
     
      if (specialKind.is(ITUserPlaylistSpecialKind.Folder())) {
        return new PlaylistFolderImpl(lazy, library, itPlaylist);
      } else {
        if (itPlaylist.isSmart()) {
          return new SmartPlaylistImpl(lazy, library, itPlaylist);
        } else {
View Full Code Here

TOP

Related Classes of com.jitcaforwin.basic.api.enums.ITUserPlaylistSpecialKind

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.