Most visited

Recently visited

AsyncObject3DListener

public interface AsyncObject3DListener

com.viro.core.AsyncObject3DListener


Callback interface for responding to Object3D model loading events.

Summary

Public methods

abstract void onObject3DFailed(String error)

Invoked on the main thread if an Object3D fails to load.

abstract void onObject3DLoaded(Object3D object, Object3D.Type type)

Invoked on main thread after the Object3D is loaded.

Public methods

onObject3DFailed

void onObject3DFailed (String error)

Invoked on the main thread if an Object3D fails to load.

Parameters
error String: The error message.

onObject3DLoaded

void onObject3DLoaded (Object3D object, 
                Object3D.Type type)

Invoked on main thread after the Object3D is loaded.

Parameters
object Object3D: The Object3D that was loaded.

type Object3D.Type: The type of Object3D.

Hooray!