Most visited

Recently visited

ViroViewScene.StartupListener

public static interface ViroViewScene.StartupListener

com.viro.core.ViroViewScene.StartupListener


Callback interface for responding to ViroViewScene startup success or failure.

Summary

Public methods

abstract void onFailure(ViroViewScene.StartupError error, String errorMessage)

Callback invoked when the ViroViewOVR failed to initialize.

abstract void onSuccess()

Callback invoked when ViroViewScene has finished initialization, meaning the rendering surface was succesfully created.

Public methods

onFailure

void onFailure (ViroViewScene.StartupError error, 
                String errorMessage)

Callback invoked when the ViroViewOVR failed to initialize.

Parameters
error ViroViewScene.StartupError: The error code.

errorMessage String: The reason for the failure as a string.

onSuccess

void onSuccess ()

Callback invoked when ViroViewScene has finished initialization, meaning the rendering surface was succesfully created. When this is received, the ViroView is ready to begin rendering content.

Hooray!