- 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.
Documentation for this section has not yet been entered.
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.