Instance Method

play

Initiates audio playback.

Declaration

- (BOOL)play;

Return Value

YES when playback is initiated, NO when playback is already in progress or when an error occurred.

Discussion

This method initiates playback asynchronously and returns control to your application. Therefore, your application can continue doing work while the audio is playing.

See Also

Playing Sounds

playing

A Boolean that indicates whether the sound is playing its audio data.

- pause

Pauses audio playback.

- resume

Resumes audio playback.

- stop

Concludes audio playback.