< AMPlayable > Protocol Reference

Provides a protocol for controlling playable objects. More...

#import <AMPlayable.h>

Inheritance diagram for < AMPlayable >:

AMAnimation AMChunk AMChunkInstance AMCue AMCueInstance AMSound AMSoundInstance

List of all members.

Public Member Functions

(id) - start
 Starts the playable source.
(id) - stop
 Stops the playable source.
(BOOL) - isPlaying
 Gets the current playing status of the source.
(double) - getDuration
 Gets the duration of the playable source.


Detailed Description

Provides a protocol for controlling playable objects.

Member Function Documentation

- (double) getDuration  

Gets the duration of the playable source.

Returns:
The duration of the sources in seconds, or -1 if the duration is unknown.

- (BOOL) isPlaying  

Gets the current playing status of the source.

Returns:
YES if the source is currently playing, NO otherwise.

- (id) start  

Starts the playable source.

Returns:
The playing instance of the source.

- (id) stop  

Stops the playable source.

Returns:
The instance of the source that was stopped.


The documentation for this protocol was generated from the following file:

Generated on Mon May 16 16:29:48 2011 for ARIA by  doxygen 1.5.9