AudioServicesPlayAlertSound(_:spatialExperience:)
Play an alert sound with the provided spatial audio experience.
Declaration
func AudioServicesPlayAlertSound(_ systemSoundID: SystemSoundID, spatialExperience: any SpatialAudioExperience) asyncMentioned in
Discussion
The alert sound has this spatial experience for the duration of its playback and cannot change mid-playback.