< AMPlayable > Protocol Reference
Provides a protocol for controlling playable objects.
More...
#import <AMPlayable.h>
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
Gets the duration of the playable source.
- Returns:
- The duration of the sources in seconds, or -1 if the duration is unknown.
Gets the current playing status of the source.
- Returns:
- YES if the source is currently playing, NO otherwise.
Starts the playable source.
- Returns:
- The playing instance of the source.
Stops the playable source.
- Returns:
- The instance of the source that was stopped.
The documentation for this protocol was generated from the following file:
- /Users/lasorsa/Documents/SVN/aria/trunk/src/a2ml/core/protocols/AMPlayable.h