topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiMediaItem.h / h



  
Appcelerator Titanium Mobile Copyright (c) 2009-2011 by Appcelerator, Inc. All Rights Reserved. Licensed under the terms of the Apache Public License Please see the LICENSE included with this distribution for details. WARNING: This is generated code. Modify at your own risk and without support.

  
  ifdef USE_TI_MEDIA
  
  #import <Foundation/Foundation.h>
  #import <MediaPlayer/MediaPlayer.h>
  #import <TiBlob.h>
  #import <TiProxy.h>
  
  // Not 'officially' a proxy since we don't want users being able to create these; they're
  // generated internally only for the media player.
  @interface TiMediaItem : TiProxy {
          MPMediaItem* item;
  }
  
  #pragma mark Properties
  
  /*
   These are all handled by key management but for artwork (it's special!).  Documented here for posterity.
   
  @property(nonatomic,readonly) NSNumber* 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) NSNumber* playbackDuration;
  @property(nonatomic,readonly) NSNumber* albumTrackNumber;
  @property(nonatomic,readonly) NSNumber* albumTrackCount;
  @property(nonatomic,readonly) NSNumber* discNumber;
  @property(nonatomic,readonly) NSNumber* discCount;
  @property(nonatomic,readonly) NSString* lyrics;
  @property(nonatomic,readonly) NSNumber* isCompilation;
  @property(nonatomic,readonly) NSString* podcastTitle;
  @property(nonatomic,readonly) NSNumber* playCount;
  @property(nonatomic,readonly) NSNumber* skipCount;
  @property(nonatomic,readonly) NSNumber* rating;
   */
  
  @property(nonatomic,readonly) TiBlob* artwork;
  
  #pragma mark Internal
  
  -(id)_initWithPageContext:(id<TiEvaluator>)context item:(MPMediaItem*)item_;
  -(MPMediaItem*)item;
  
  @end
  
  endif
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.