SoundEffectPool.LoadCompleteListener


fun interface SoundEffectPool.LoadCompleteListener


Callback interface for receiving notification when a sound effect has finished loading.

Summary

Public functions

Unit
onLoadComplete(soundEffect: SoundEffect, success: Boolean)

Called when a sound effect has finished loading.

Public functions

onLoadComplete

Added in 1.0.0-rc01
fun onLoadComplete(soundEffect: SoundEffect, success: Boolean): Unit

Called when a sound effect has finished loading.

Parameters
soundEffect: SoundEffect

handle to the loaded sound effect

success: Boolean

true if the load operation was successful, false otherwise