Plays a sound asynchronously, starting at a specified point in the audio output device’s timeline.
Mac Catalyst 13.0+Beta
The absolute audio output device time to begin playback. The value that you provide to the time parameter must be greater than the device’s current time. You can delay the start of playback by using code like this:
YES on success, or NO on failure.
Use this method to precisely synchronize the playback of two or more AVAudioPlayer objects. This code snippet shows the recommended way to do this:
To learn about the virtual audio output device’s timeline, read the description for the deviceCurrentTime property.
Calling this method implicitly calls the prepareToPlay method if the audio player is not already prepared to play.
The audio player’s settings dictionary, containing information about the sound associated with the player.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.