pub type AudioServicesSystemSoundCompletionProc = Option<unsafe extern "C-unwind" fn(SystemSoundID, *mut c_void)>;Available on crate feature
AudioServices only.Expand description
A function to be executed when a SystemSoundID finishes playing.
AudioServicesSystemSoundCompletionProc may be provided by client application to be called when a SystemSoundID has completed playback.
Parameter ssID: The SystemSoundID that completed playback
Parameter clientData: Client application user data
See also Apple’s documentation
Aliased Type§
pub enum AudioServicesSystemSoundCompletionProc {
None,
Some(unsafe extern "C-unwind" fn(u32, *mut c_void)),
}