GetLaunchDetails
()
|
Returns information about how the application was started. This function provides details about the launch intent, such as the type of intent LaunchDetails::LaunchType and any additional data that was passed along with it. By calling this function, you can gain insight into how your application was launched and take appropriate action based on that information.
Signature
static Models.LaunchDetails Oculus.Platform.ApplicationLifecycle.GetLaunchDetails() Returns Models.LaunchDetails |
LogDeeplinkResult
(
trackingID
, result
)
|
Logs if the user successfully deeplinked to a destination. This function takes two parameters: a string tracking ID and a launch result. The tracking ID is used to identify the specific deeplink attempt, while the launch result indicates whether the deeplink was LaunchResult::Success or not. By logging this information, you can track the effectiveness of your deeplinking efforts and make adjustments as needed.
Signature
static void Oculus.Platform.ApplicationLifecycle.LogDeeplinkResult(string trackingID, LaunchResult result) Parameters trackingID: string
The Tracking ID is a unique identifier assigned to each deeplink attempt. It allows developers to track the success or failure of individual deeplink attempts and gain insights into the effectiveness of their deeplinking efforts.
result: LaunchResult
An enum that indicates the outcome of an attempt to launch this application through a deeplink, including whether the attempt was LaunchResult::Success or not, and if not, the specific reasons for the failure.
Returns void |
SetLaunchIntentChangedNotificationCallback
(
callback
)
|
This event is triggered when a launch intent is received, whether it's a cold or warm start. The payload contains the type of intent that was received. To obtain additional details, you should call the ApplicationLifecycle.GetLaunchDetails() function.
Signature
static void Oculus.Platform.ApplicationLifecycle.SetLaunchIntentChangedNotificationCallback(Message< string >.Callback callback) Returns void |