getSession method

XRSession? getSession()

Returns the current XR session.

@return {?XRSession} The XR session. Returns null when used outside a XR session. /

Implementation

XRSession? getSession() {
  return session;
}