Share via


SoundPool.IOnLoadCompleteListener.OnLoadComplete Method

Definition

Called when a sound has completed loading.

[Android.Runtime.Register("onLoadComplete", "(Landroid/media/SoundPool;II)V", "GetOnLoadComplete_Landroid_media_SoundPool_IIHandler:Android.Media.SoundPool/IOnLoadCompleteListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnLoadComplete (Android.Media.SoundPool? soundPool, int sampleId, int status);
[<Android.Runtime.Register("onLoadComplete", "(Landroid/media/SoundPool;II)V", "GetOnLoadComplete_Landroid_media_SoundPool_IIHandler:Android.Media.SoundPool/IOnLoadCompleteListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnLoadComplete : Android.Media.SoundPool * int * int -> unit

Parameters

soundPool
SoundPool

SoundPool object from the load() method

sampleId
Int32

the sample ID of the sound loaded.

status
Int32

the status of the load operation (0 = success)

Attributes

Remarks

Called when a sound has completed loading.

Java documentation for android.media.SoundPool.OnLoadCompleteListener.onLoadComplete(android.media.SoundPool, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to