PICO Unreal Platform SDK
|
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 | GetVersion (const FOnGetVersionComplete &Delegate=FOnGetVersionComplete()) |
Gets the current app's latest version in the PICO Store. 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... | |
bool | LaunchStore (const FOnLaunchStoreComplete &Delegate=FOnLaunchStoreComplete()) |
Launches the PICO Store and jump to the details page of the current app. More... | |
Pico Application interface class.
bool GetVersion | ( | const FOnGetVersionComplete & | Delegate = FOnGetVersionComplete() | ) |
Gets the current app's latest version in the PICO Store.
Delegate | Will be executed when the request has been complete. Delegate will contain the requested object class (int64 /*CurrentCode*/, const FString& /*CurrentName*/, int64 /*LatestCode*/, const FString& /*LatestName*/, bool /*IsSuccessed*/, const FString& /*Error Message*/). |
true
: success false
: failure bool LaunchOtherApp | ( | const FString & | PackageName, |
const FString & | Message, | ||
const FOnLaunchOtherAppComplete & | Delegate = FOnLaunchOtherAppComplete() |
||
) |
Launches a different app in a user's library.
PackageName | The package name of the app to launch. |
Message | A message to be passed to the launched app. |
Delegate | Will be executed when the request has been complete. Delegate will contain the requested object class (const FString& /*String Message*/, bool /*IsSuccessed*/, const FString& /*Error Message*/). |
true
: success false
: failure bool LaunchOtherAppByAppId | ( | const FString & | AppId, |
const FString & | Message, | ||
const FOnLaunchOtherAppByAppIdComplete & | Delegate = FOnLaunchOtherAppByAppIdComplete() |
||
) |
Launches a different app in a user's library by app ID.
AppId | The ID of the app to launch. |
Message | A message to be passed to the launched app. |
Delegate | Will be executed when the request has been complete. Delegate will contain the requested object class (const FString& /*String Message*/, bool /*IsSuccessed*/, const FString& /*Error Message*/). |
true
: success false
: failure 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.
AppID | The ID of the app to launch. |
PackageName | The package name of the app to launch. |
Message | A message to be passed to the launched app. |
ApiName | The API name of the destination in the app. |
LobbySessionId | The 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. |
MatchSessionId | The 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. |
TrackId | The tracking ID of the app launch event. |
Extra | Extra data defined by the developer. |
Delegate | Will be executed when the request has been completed. Delegate will contain the requested object class (const FString& /*String Message*/, bool /*IsSuccessed*/, const FString& /*Error Message*/). |
true
: success false
: failure bool LaunchStore | ( | const FOnLaunchStoreComplete & | Delegate = FOnLaunchStoreComplete() | ) |
Launches the PICO Store and jump to the details page of the current app.
Delegate | Will be executed when the request has been complete. Delegate will contain the requested object class (const FString& /*String Message*/, bool /*IsSuccessed*/, const FString& /*Error Message*/). |
true
: success false
: failure