SystemSound.AddSystemSoundCompletion(Action, CFRunLoop) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Method to invoke when this sound completes playing.
public AudioToolbox.AudioServicesError AddSystemSoundCompletion (Action routine, CoreFoundation.CFRunLoop runLoop = null);
member this.AddSystemSoundCompletion : Action * CoreFoundation.CFRunLoop -> AudioToolbox.AudioServicesError
Parameters
- routine
- Action
Method to invoke upon completion.
- runLoop
- CFRunLoop
Runloop on which the completion will be invoked, this parameter can be null to invoke on the main loop.
Returns
Status code.