Most visited

Recently visited

SpatialSound.PlaybackListener

public static interface SpatialSound.PlaybackListener

com.viro.core.SpatialSound.PlaybackListener


Callback interface for responding to SpatialSound events.

Summary

Public methods

abstract void onSoundFail(String error)

Invoked when a SpatialSound failed to load.

abstract void onSoundReady(SpatialSound sound)

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

Public methods

onSoundFail

void onSoundFail (String error)

Invoked when a SpatialSound failed to load.

Parameters
error String: The associated error message.

onSoundReady

void onSoundReady (SpatialSound sound)

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

Parameters
sound SpatialSound: The sound.

Hooray!