SoundPool.IOnLoadCompleteListener.OnLoadComplete 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.
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.
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.