Interface that represents a audio task. More...

Inheritance diagram for AudioTask:

Classes

enum  TaskStatus
 Audio task type. More...
 
enum  TaskType
 Audio task type. More...
 

Public Member Functions

int getId ()
 Gets track id. More...
 
AudioPort getPort ()
 Gets port which play the track. More...
 
List< AudioConfigurationgetConfiguration ()
 Return the list with task configurations. More...
 
TaskStatus getTaskStatus () throws AudioNotAvailableException, AudioLowLevelException
 Get task status. More...
 
void stop () throws AudioNotAvailableException, AudioLowLevelException
 Stop the task.
 
- Public Member Functions inherited from Subject< T extends Observer< U, U extends Event >
void subscribe (T observer) throws CannotSubscribeException
 
void unSubscribe (T observer) throws ObserverNotSubscribedException
 

Detailed Description

Interface that represents a audio task

Member Function Documentation

List<AudioConfiguration> getConfiguration ( )
Returns
Return the list with task configurations
int getId ( )
Returns
Track id
AudioPort getPort ( )
Returns
Port which play the track
Returns
Task status