Pico Unreal Platform SDK
FApplicationLifecycleInterface Class Reference

Pico Application interface class. More...

#include <ApplicationLifecycleInterface.h>

Public Member Functions

bool GetLaunchDetails (FLaunchDetails &OutLaunchDetails)
 Gets information about how the app was launched. More...
 
bool LogDeeplinkResult (const FString &TrackingID, ELaunchResult LaunchResult)
 Logs whether the user has been successfully directed to the desired destination via a deep link. More...
 

Public Attributes

FApplicationLifecycleStringResult LaunchIntentChangedCallback
 Gets notified when the launch intent has been changed.
 

Detailed Description

Pico Application interface class.

Member Function Documentation

◆ GetLaunchDetails()

bool GetLaunchDetails ( FLaunchDetails &  OutLaunchDetails)

Gets information about how the app was launched.

Parameters
OutLaunchDetailsThe [out] struct of launch details.
Returns
Bool:
  • true: success
  • false: failure

◆ LogDeeplinkResult()

bool LogDeeplinkResult ( const FString &  TrackingID,
ELaunchResult  LaunchResult 
)

Logs whether the user has been successfully directed to the desired destination via a deep link.

Parameters
TrackingIDThe tracking ID of the app launch event.
LaunchResultEnumerations of the launch result:
  • Unknown
  • Success
  • FailedRoomFull
  • FailedGameAlreadyStarted
  • FailedRoomNotFound
  • FailedUserDeclined
  • FailedOtherReason
Returns
Bool:
  • true: the result has been logged
  • false: failed to log the result