Android.Media.MediaActionSound.Load Method
Preload a predefined platform sound to minimize latency when the sound is played later by MediaActionSound.Play(MediaActionSoundType).

Syntax

[Android.Runtime.Register("load", "(I)V", "GetLoad_IHandler")]
public virtual void Load ([Android.Runtime.GeneratedEnum] MediaActionSoundType soundName)

See Also

MediaActionSound.Play(MediaActionSoundType)
MediaActionSound.ShutterClick
MediaActionSound.FocusComplete
MediaActionSound.StartVideoRecording
MediaActionSound.StopVideoRecording

Parameters

soundName
The type of sound to preload, selected from SHUTTER_CLICK, FOCUS_COMPLETE, START_VIDEO_RECORDING, or STOP_VIDEO_RECORDING.

Remarks

Preload a predefined platform sound to minimize latency when the sound is played later by MediaActionSound.Play(MediaActionSoundType).

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16