Edit

Share via


SystemSound.AddSystemSoundCompletion(Action, CFRunLoop) Method

Definition

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.

Applies to