SystemSound.PlaySystemSound Method

Definition

Overloads

Name Description
PlaySystemSound()

Plays the system sound.

PlaySystemSound(Action)

Plays the system sound and calls onCompletion afterwards.

PlaySystemSound()

Plays the system sound.

public void PlaySystemSound();
member this.PlaySystemSound : unit -> unit

Remarks

The system sound is played asynchronously, but it is also limited to 30 seconds or less.

Applies to

PlaySystemSound(Action)

Plays the system sound and calls onCompletion afterwards.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public void PlaySystemSound(Action onCompletion);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.PlaySystemSound : Action -> unit

Parameters

onCompletion
Action
Attributes

Applies to