Most visited

Recently visited

Sound.PlaybackListener

public static interface Sound.PlaybackListener

com.viro.core.Sound.PlaybackListener


Callback interface for responding to Sound events.

Summary

Public methods

abstract void onSoundFail(String error)

Invoked when a Sound failed to load.

abstract void onSoundFinish(Sound sound)

Invoked when a Sound has completed.

abstract void onSoundReady(Sound sound)

Invoked when a Sound has finished loading and is ready to play without delay.

Public methods

onSoundFail

void onSoundFail (String error)

Invoked when a Sound failed to load.

Parameters
error String: The associated error message.

onSoundFinish

void onSoundFinish (Sound sound)

Invoked when a Sound has completed. This is also invoked at the end of each loop of a sound.

Parameters
sound Sound: The sound.

onSoundReady

void onSoundReady (Sound sound)

Invoked when a Sound has finished loading and is ready to play without delay.

Parameters
sound Sound: The sound.

Hooray!