Most visited

Recently visited

ViroViewGVR.StartupListener

public static interface ViroViewGVR.StartupListener

com.viro.core.ViroViewGVR.StartupListener


Callback interface for responding to ViroViewGVR startup success or failure.

Summary

Public methods

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

Callback invoked when the ViroViewGVR failed to initialize.

abstract void onSuccess()

Callback invoked when ViroViewGVR has finished initialization, meaning the rendering surface was succesfully created and GVR was successfully initialized.

Public methods

onFailure

void onFailure (ViroViewGVR.StartupError error, 
                String errorMessage)

Callback invoked when the ViroViewGVR failed to initialize.

Parameters
error ViroViewGVR.StartupError: The error code.

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

onSuccess

void onSuccess ()

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

Hooray!