Omni One Unreal SDK 1.1.0
The Omni One Unreal SDK allows for games to interface with the Omni platform service.
Loading...
Searching...
No Matches
FOmniApplicationService

Description

The Application service handles application related data management.

#include <OmniApplicationService.h>

Inherits FOmniPlatformServiceBase.

Public Member Functions

void GetLaunchDetails (const FGetLaunchDetailsDelegate &OnGetLaunchDetailsDelegate)
 When a player is invited to join another player in your game, they will receive and accept an invite in the Omni One Launcher, and this game will be launched.
 
void GetVersion (const FString &PackageName, const FGetVersionDelegate &OnGetVersionCallback)
 Retrieve version data.
 
void GetSystemInfo (const FGetSystemInfoDelegate &OnGetSystemInfoCallback)
 Retrieve system information data.
 

Public Attributes

FLaunchIntentChangedCallback OnLaunchIntentChangedCallback
 Will be broadcast if the game's launch details get updated while the game is running

 

Methods

◆ GetLaunchDetails()

void FOmniApplicationService::GetLaunchDetails ( const FGetLaunchDetailsDelegate &  OnGetLaunchDetailsDelegate)

When a player is invited to join another player in your game, they will receive and accept an invite in the Omni One Launcher, and this game will be launched.

This function provides the details needed to connect to the player that invited them. The data that is passed in is the data you provided when you created the invite.

◆ GetSystemInfo()

void FOmniApplicationService::GetSystemInfo ( const FGetSystemInfoDelegate &  OnGetSystemInfoCallback)

Retrieve system information data.

Parameters
OnGetSystemInfoCallbackA callback that will be executed when the service has retrieved the information. UOmniSystemInfo* SystemInfo is the parameter.

◆ GetVersion()

void FOmniApplicationService::GetVersion ( const FString &  PackageName,
const FGetVersionDelegate &  OnGetVersionCallback 
)

Retrieve version data.

Please note, that the latest code in VersionData is always invalid.

Parameters
PackageNameName of the application package.
OnGetVersionCallbackA callback that will be executed when the service has retrieved the information. UOmniVersionData*, VersionData is the parameter.