PorticoHelper (class)

Namespace: PorticoXR

Helper component to provide PorticoXR events and methods that can be referenced from other scripts/MonoBehaviours.

Inherits: MonoBehaviour

Fields

  • UnityEvent OnSuccess — Event fired upon successful initialization of the Portico SDK.
  • UnityEvent OnFailure — Event fired upon an unsuccessful initialization of the Portico SDK.

Properties

Property Type Summary
IsAvailable bool Returns true if a Portico session is available to the app instance (typically when launched via the Portico App).
IsInitialized bool If the Portico SDK has authenticated and is initialized.
ModuleName string Get the loaded module name (if applicable).
Module IModule The currently loaded reporting module.

Methods

Method Return Type Parameters Summary
Initialize void - Initialize the Portico SDK now.
SendCompletion void bool success Send a completion statement for the current session.