/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 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. */ #ifdef USE_TI_MEDIA #import "TiProxy.h" #import "TiFile.h" #import @interface TiMediaSoundProxy : TiProxy { @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