BaseArFragment.OnSessionInitializationListener

  • BaseArFragment.OnSessionInitializationListener is triggered when the ARCore Session is initialized.

  • It includes a single method, onSessionInitialization, which is called only once after Session initialization and before its first resume.

  • The onSessionInitialization method provides access to the ARCore Session object.

public static interface BaseArFragment.OnSessionInitializationListener

Invoked when the ARCore Session is initialized.

Public Methods

abstract void
onSessionInitialization(Session session)
The callback will only be invoked once after a Session is initialized and before it is resumed for the first time.

Public Methods

public abstract void onSessionInitialization (Session session)

The callback will only be invoked once after a Session is initialized and before it is resumed for the first time.

Parameters
session The ARCore Session.