Most visited

Recently visited

ViroViewOVR.StartupListener

public static interface ViroViewOVR.StartupListener

com.viro.core.ViroViewOVR.StartupListener


Callback interface for responding to ViroViewOVR startup success or failure.

Summary

Public methods

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

Callback invoked when the ViroViewOVR failed to initialize.

abstract void onSuccess()

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

Public methods

onFailure

void onFailure (ViroViewOVR.StartupError error, 
                String errorMessage)

Callback invoked when the ViroViewOVR failed to initialize.

Parameters
error ViroViewOVR.StartupError: The error code.

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

onSuccess

void onSuccess ()

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

Hooray!