Most visited

Recently visited

ViroViewARCore.StartupListener

public static interface ViroViewARCore.StartupListener

com.viro.core.ViroViewARCore.StartupListener


Callback interface for responding to ViroViewARCore startup success or failure.

Summary

Public methods

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

Callback invoked when the ViroViewARCore failed to initialize.

abstract void onSuccess()

Callback invoked when ViroViewARCore has finished initialization, meaning the rendering surface was succesfully created and ARCore was successfully installed and initialized.

Public methods

onFailure

void onFailure (ViroViewARCore.StartupError error, 
                String errorMessage)

Callback invoked when the ViroViewARCore failed to initialize.

Parameters
error ViroViewARCore.StartupError: The error code.

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

onSuccess

void onSuccess ()

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

Hooray!