topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiMediaMusicPlayer.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 <TiProxy.h>
  #import <TiMediaItem.h>
  
  @interface TiMediaMusicPlayer : TiProxy {
          MPMusicPlayerController* player;
  }
  
  -(id)_initWithPageContext:(id<TiEvaluator>)context player:(MPMusicPlayerController*)player_;
  
  -(void)play:(id)unused;
  -(void)pause:(id)unused;
  -(void)stop:(id)unused;
  
  -(void)seekForward:(id)unused;
  -(void)seekBackward:(id)unusued;
  -(void)stopSeeking:(id)unused;
  
  -(void)skipToNext:(id)unused;
  -(void)skipToBeginning:(id)unused;
  -(void)skipToPrevious:(id)unused;
  
  -(void)setQueue:(id)arg;
  
  @property(nonatomic,assign) NSNumber* currentPlaybackTime;
  @property(nonatomic,readonly) NSNumber* playbackState;
  @property(nonatomic,assign) NSNumber* repeatMode;
  @property(nonatomic,assign) NSNumber* shuffleMode;
  @property(nonatomic,assign) NSNumber* volume;
  @property(nonatomic,readonly) TiMediaItem* nowPlaying;
  
  @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.