Contents

Audio Services

Play short sounds or trigger a vibration effect on iOS devices with the appropriate hardware.

Overview

System Sound Services provides a C interface for playing short sounds and for invoking vibration on iOS devices that support vibration.

You can use System Sound Services to play short (30 seconds or shorter) sounds. The interface does not provide level, positioning, looping, or timing control, and does not support simultaneous playback: You can play only one sound at a time. You can use System Sound Services to provide audible alerts. On some iOS devices, alerts can include vibration.

Topics

Creating and Disposing of System Sound Objects

Playing Sounds

Adding and Removing System Sound Callbacks

Managing System Sound Services Properties

Getting Error Codes

See Also

Playback and Recording