SoundEffectPool.LoadCompleteListener


public fun interface SoundEffectPool.LoadCompleteListener


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

Summary

Public methods

abstract void
onLoadComplete(@NonNull SoundEffect soundEffect, boolean success)

Called when a sound effect has finished loading.

Public methods

onLoadComplete

Added in 1.0.0-alpha15
abstract void onLoadComplete(@NonNull SoundEffect soundEffect, boolean success)

Called when a sound effect has finished loading.

Parameters
@NonNull SoundEffect soundEffect

handle to the loaded sound effect

boolean success

true if the load operation was successful, false otherwise