Pico Unreal Platform SDK
BP_ApplicationLifecycle

Functions

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

Detailed Description

This is the BP_ApplicationLifecycle group

Function Documentation

◆ GetLaunchDetails()

bool GetLaunchDetails ( UObject *  WorldContextObject,
FLaunchDetails &  OutLaunchDetails 
)
static

Gets information about how the app was launched.

Parameters
WorldContextObjectUsed to get the information about the current world.
OutLaunchDetailsThe [out] struct of launch details.
Returns
Bool:
  • true: success
  • false: failure

◆ LogDeeplinkResult()

bool LogDeeplinkResult ( UObject *  WorldContextObject,
const FString &  TrackingID,
ELaunchResult  LaunchResult 
)
static

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

Parameters
WorldContextObjectUsed to get the information about the current world.
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