PICO Unreal Platform SDK
FPicoApplicationInterface Class Reference

Pico Application interface class. More...

#include <PicoApplicationInterface.h>

Public Member Functions

bool LaunchOtherApp (const FString &PackageName, const FString &Message, const FOnLaunchOtherAppComplete &Delegate=FOnLaunchOtherAppComplete())
 Launches a different app in a user's library. More...
 
bool LaunchOtherAppByPresence (const FString &AppID, const FString &PackageName, const FString &Message, const FString &ApiName, const FString &LobbySessionId, const FString &MatchSessionId, const FString &TrackId, const FString &Extra, const FOnLaunchOtherAppByPresenceComplete &Delegate=FOnLaunchOtherAppByPresenceComplete())
 Launches a different app in a user's library. More...
 
bool LaunchOtherAppByAppId (const FString &AppId, const FString &Message, const FOnLaunchOtherAppByAppIdComplete &Delegate=FOnLaunchOtherAppByAppIdComplete())
 Launches a different app in a user's library by app ID. More...
 

Detailed Description

Pico Application interface class.

Member Function Documentation

◆ LaunchOtherApp()

bool LaunchOtherApp ( const FString &  PackageName,
const FString &  Message,
const FOnLaunchOtherAppComplete &  Delegate = FOnLaunchOtherAppComplete() 
)

Launches a different app in a user's library.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
PackageNameThe package name of the app to launch.
MessageA message to be passed to the launched app.
DelegateWill be executed when the request has been complete.
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchOtherAppByAppId()

bool LaunchOtherAppByAppId ( const FString &  AppId,
const FString &  Message,
const FOnLaunchOtherAppByAppIdComplete &  Delegate = FOnLaunchOtherAppByAppIdComplete() 
)

Launches a different app in a user's library by app ID.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
AppIdThe ID of the app to launch.
MessageA message to be passed to the launched app.
DelegateWill be executed when the request has been complete.
Returns
Bool:
  • true: success
  • false: failure

◆ LaunchOtherAppByPresence()

bool LaunchOtherAppByPresence ( const FString &  AppID,
const FString &  PackageName,
const FString &  Message,
const FString &  ApiName,
const FString &  LobbySessionId,
const FString &  MatchSessionId,
const FString &  TrackId,
const FString &  Extra,
const FOnLaunchOtherAppByPresenceComplete &  Delegate = FOnLaunchOtherAppByPresenceComplete() 
)

Launches a different app in a user's library.

Note
If the user does not have that app installed, the user will be directed to that app's page on the PICO Store.
Parameters
AppIDThe ID of the app to launch.
PackageNameThe package name of the app to launch.
MessageA message to be passed to the launched app.
ApiNameThe API name of the destination in the app.
LobbySessionIdThe lobby session ID of the user's presence, which identifies a user group or team. Users with the same lobby session ID can play together or form a team in a game.
MatchSessionIdThe match session ID of the user's presence, which identifies all users within the same destination, such as maps and levels. Users with different lobby session IDs will have the same match session ID when playing the same match.
TrackIdThe tracking ID of the app launch event.
ExtraExtra data defined by the developer.
DelegateWill be executed when the request has been completed.
Returns
Bool:
  • true: success
  • false: failure