Android.Media.SoundPool.Load Method
Load the sound from the specified APK resource.

Syntax

[Android.Runtime.Register("load", "(Landroid/content/Context;II)I", "GetLoad_Landroid_content_Context_IIHandler")]
public virtual int Load (Android.Content.Context context, int resId, int priority)

Parameters

context
the application context
resId
the resource ID
priority
the priority of the sound. Currently has no effect. Use a value of 1 for future compatibility.

Returns

Documentation for this section has not yet been entered.

Remarks

Load the sound from the specified APK resource. Note that the extension is dropped. For example, if you want to load a sound from the raw resource file "explosion.mp3", you would specify "R.raw.explosion" as the resource ID. Note that this means you cannot have both an "explosion.wav" and an "explosion.mp3" in the res/raw directory.

[Android Documentation]

Requirements

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