topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-TiMediaSoundProxy.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 <TiProxy.h>
  #import <TiFile.h>
  #import <AVFoundation/AVAudioPlayer.h>
  
  @interface TiMediaSoundProxy : TiProxy<AVAudioPlayerDelegate> 
  {
  @private
          NSURL *url;
          TiFile *tempFile;
          AVAudioPlayer * player;
          BOOL paused;
          BOOL looping;
          CGFloat volume;
          CGFloat resumeTime;
  }
  
  @property (nonatomic,readwrite,assign) NSNumber *volume;
  @property (nonatomic,readonly) NSURL *url;
  
  @property (nonatomic,readwrite,assign) NSNumber *looping;
  @property (nonatomic,readwrite,assign)  NSNumber *paused;
  @property (nonatomic,readonly) NSNumber *playing;
  
  @property (nonatomic,readonly) NSNumber *duration;
  @property (nonatomic,readwrite,assign) NSNumber *time;
  
  @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.