Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PixoVR.Apex.ApexSystem Class Reference
Inheritance diagram for PixoVR.Apex.ApexSystem:
[legend]

Public Member Functions

bool InitializeInstance (T targetInstance)
 
virtual void OnDestroy ()
 When Unity quits, it destroys objects in a random order. In principle, a Singleton is only destroyed when application quits. If any script calls Instance after it have been destroyed, it will create a buggy ghost object that will stay on the Editor scene even after stopping playing the Application. Really bad! So, this was made to be sure we're not creating that buggy ghost object.
 

Static Public Member Functions

static void ChangePlatformServer (PlatformServer newServer)
 
static bool CheckModuleAccess (int targetModuleID=-1)
 
static void CompleteSession (SessionData currentSessionData, Extension contextExtension=null, Extension resultExtension=null, Action< HttpResponseMessage, object > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 
static void ExitApplication (string nextExitTarget="")
 
static bool GenerateOneTimeLoginForCurrentUser (Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static void GenerateOneTimeLoginForUser (int userId, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GetCurrentUser ()
 
static bool GetCurrentUserModules ()
 
static void GetDevicesForOrg (int page, FilterParams filterParams, Action< HttpResponseMessage, OrgDevicesResponse > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GetModulesList (string platformName)
 
static bool GetQuickIDAuthUsers (string serialNumber)
 
static void GetSesssionHistory (int page, SessionFilters sessionFilters, FilterParams filterParams, Action< HttpResponseMessage, SessionHistoryResponse > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GetUser (int userId=-1)
 
static void GetUserMetricsForCurrentUsersOrg (int page, FilterParams filterParams, Action< UserMetricsResponse, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GetUserModules (int userId=-1)
 
static void JoinSession (string scenarioID=null, Extension contextExtension=null, Action< HttpResponseMessage, JoinSessionResponse > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 
static bool Login (LoginData login)
 
static bool Login (string username, string password)
 
static bool LoginWithToken ()
 
static bool LoginWithToken (string token)
 
static void Ping (Action< HttpResponseMessage, object > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 
static bool QuickIDLogin (string serialNumber, string username)
 
static bool RequestAuthorizationCode ()
 
static void SendSessionEvent (Statement eventStatement, Action< HttpResponseMessage, object > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 
static void SendSimpleSessionEvent (string action, string targetObject, Extension contextExtension, Action< HttpResponseMessage, object > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 

Public Attributes

bool loginCheckModuleAccess = true
 [SerializeField]
 
OnAuthCodeReceived OnAuthorizationCodeReceived = new OnAuthCodeReceived()
 
OnApexFailureEvent OnGeneratedAssistedLoginFailed = new()
 
OnGeneratedAssistedLoginSuccessEvent OnGeneratedAssistedLoginSuccess = new()
 
OnApexFailureEvent OnGetOrganizationModulesFailed = new OnApexFailureEvent()
 
OnGetOrgModulesSuccessEvent OnGetOrganizationModulesSuccess = new OnGetOrgModulesSuccessEvent()
 
OnApexFailureEvent OnGetQuickIDAuthGetUsersFailed = new()
 
OnGetQuickIDAuthUsersSuccessEvent OnGetQuickIDAuthGetUsersSuccess = new()
 
OnApexFailureEvent OnGetUserFailed = new OnApexFailureEvent()
 
OnApexFailureEvent OnGetUserModulesFailed = new OnApexFailureEvent()
 
OnGetUserModulesSuccessEvent OnGetUserModulesSuccess = new OnGetUserModulesSuccessEvent()
 
OnGetUserSuccessEvent OnGetUserSuccess = new OnGetUserSuccessEvent()
 
OnApexFailureEvent OnLoginFailed = new OnApexFailureEvent()
 
OnLoginSuccessEvent OnLoginSuccess = new OnLoginSuccessEvent()
 
OnApexFailureEvent OnModuleAccessFailed = new OnApexFailureEvent()
 
OnModuleAccessSuccessEvent OnModuleAccessSuccess = new OnModuleAccessSuccessEvent()
 
PlatformResponse OnPlatformResponse = null
 
OnApexFailureEvent OnQuickIDAuthLoginFailed = new()
 
OnQuickIDAuthLoginSuccessEvent OnQuickIDAuthLoginSuccess = new()
 
bool runSetupOnAwake = true
 [SerializeField]
 

Protected Member Functions

void _ChangePlatformServer (PlatformServer newServer)
 
bool _CheckModuleAccess (int targetModuleID=-1)
 
void _CompleteSession (SessionData currentSessionData, Extension contextExtension, Extension resultExtension, Action< HttpResponseMessage, object > success=null, Action< HttpResponseMessage, FailureResponse > failure=null)
 
bool _GetModuleList (string platformName)
 
bool _GetQuickIDAuthUsers (string serialNumber)
 
bool _GetUser (int userId=-1)
 
bool _GetUserModules (int userId=-1)
 
void _JoinSession (string newScenarioID, Extension contextExtension, Action< HttpResponseMessage, JoinSessionResponse > success, Action< HttpResponseMessage, FailureResponse > failure)
 
bool _LoginWithToken (string token)
 
void _ParsePassedData (Dictionary< string, string > arguments)
 
bool _QuickIDLogin (string serialNumber, string username)
 
bool _SendHeartbeat ()
 
void _SendSessionEvent (Statement eventStatement, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
void _SendSimpleSessionEvent (string verbName, string targetObject, Extension contextExtension, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
FailureResponse GenerateFailureResponse (string message)
 
void HandleLogin (bool successful, object responseData)
 
void OnAPIResponse (ResponseType response, HttpResponseMessage message, object responseData)
 

Protected Attributes

APIHandler apexAPIHandler
 
string clientIP
 
LoginResponseContent currentActiveLogin = null
 
string currentExitTargetParameter = ""
 
Guid currentSessionID
 
string deviceID
 
string deviceModel
 
string deviceSerialNumber = ""
 
bool hasParsedArguments = false
 
int heartbeatSessionID
 
float heartbeatTime = 5.0f
 [SerializeField]
 
float heartbeatTimer
 
string loginToken = ""
 
int moduleID = 0
 [SerializeField]
 
string moduleName = "Generic"
 [SerializeField]
 
string moduleVersion = ""
 [SerializeField]
 
string optionalParameter = ""
 
string platform
 
PlatformServer PlatformTargetServer
 
string scenarioID = "Generic"
 [SerializeField]
 
string serverIP = ""
 [SerializeField]
 
bool sessionInProgress
 
Task< bool > socketConnectTask
 
Task socketDisconnectTask
 
string targetTypeParameter = ""
 
bool userAccessVerified = false
 
ApexWebsocket webSocket
 
string webSocketUrl
 

Properties

static APIHandler ApexAPIHandler [get]
 
static string APIEndpoint [get]
 
static LoginResponseContent CurrentActiveLogin [get, set]
 
static string CurrentExitTarget [get, set]
 
static string DeviceSerialNumber [get, set]
 
static T Instance [get]
 
static bool LoginCheckModuleAccess [get, set]
 
static int ModuleID [get, set]
 
static string ModuleName [get, set]
 
static string ModuleVersion [get, set]
 
static string OptionalData [get, set]
 
static string PassedLoginToken [get, protected set]
 
static bool RunSetupOnAwake [get, set]
 
static string ScenarioID [get, set]
 
static string ServerIP [get, set]
 
static string TargetType [get, private set]
 

Private Types

enum  VersionParts : int { Major = 0 , Minor , Patch }
 

Private Member Functions

void _ExitApplication (string nextExitApplication)
 
bool _RequestAuthorizationCode ()
 
Extensions AppendStandardContextExtension (Extension currentContextExtension)
 
Extensions AppendStandardContextExtension (Extensions currentContextExtensions)
 
void Awake ()
 
void ConnectWebsocket ()
 
float DetermineScaledScore (float scaledScore, float score, float maxScore)
 
void DisconnectWebsocket ()
 
void FixedUpdate ()
 
string GetEndpointFromTarget (PlatformServer target)
 
string GetPlatformEndpointFromPlatformTarget (PlatformServer target)
 
bool IsModuleMajorVersionPartValid (string modulePart)
 
bool IsModuleNonMajorVersionPartValid (string modulePart)
 
bool IsModuleVersionOnlyNumerical ()
 
bool IsModuleVersionValid ()
 
void OnDeepLinkActivated (string url)
 
void OnWebSocketClosed (System.Net.WebSockets.WebSocketCloseStatus reason)
 
void OnWebSocketConnected ()
 
void OnWebSocketConnectFailed (string reason)
 
void OnWebSocketReceive (string data)
 
void PopulateWebSocketURL ()
 
void SetupAPI ()
 
void SetupDeepLinking ()
 
void SetupPlatformConfiguration ()
 
void Start ()
 

Static Private Attributes

static bool ApplicationIsQuitting
 
static T instance
 
static readonly object lockObject
 
static readonly string MASTER_TAG
 
static readonly string TAG = "ApexSystem"
 
static readonly Regex VersionValidator = new Regex(@"^[0123456789.]+$")
 

Detailed Description

Definition at line 25 of file ApexSystem.cs.

Member Enumeration Documentation

◆ VersionParts

Enumerator
Major 
Minor 
Patch 

Definition at line 28 of file ApexSystem.cs.

Member Function Documentation

◆ _ChangePlatformServer()

void PixoVR.Apex.ApexSystem._ChangePlatformServer ( PlatformServer newServer)
inlineprotected

Definition at line 877 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _CheckModuleAccess()

bool PixoVR.Apex.ApexSystem._CheckModuleAccess ( int targetModuleID = -1)
inlineprotected

Definition at line 945 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _CompleteSession()

void PixoVR.Apex.ApexSystem._CompleteSession ( SessionData currentSessionData,
Extension contextExtension,
Extension resultExtension,
Action< HttpResponseMessage, object > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlineprotected

Definition at line 1155 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _ExitApplication()

void PixoVR.Apex.ApexSystem._ExitApplication ( string nextExitApplication)
inlineprivate

Definition at line 446 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetModuleList()

bool PixoVR.Apex.ApexSystem._GetModuleList ( string platformName)
inlineprotected

Definition at line 1288 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetQuickIDAuthUsers()

bool PixoVR.Apex.ApexSystem._GetQuickIDAuthUsers ( string serialNumber)
inlineprotected

Definition at line 1297 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetUser()

bool PixoVR.Apex.ApexSystem._GetUser ( int userId = -1)
inlineprotected

Definition at line 1260 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetUserModules()

bool PixoVR.Apex.ApexSystem._GetUserModules ( int userId = -1)
inlineprotected

Definition at line 1274 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _JoinSession()

void PixoVR.Apex.ApexSystem._JoinSession ( string newScenarioID,
Extension contextExtension,
Action< HttpResponseMessage, JoinSessionResponse > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlineprotected

Definition at line 966 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _LoginWithToken()

bool PixoVR.Apex.ApexSystem._LoginWithToken ( string token)
inlineprotected

Definition at line 884 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _ParsePassedData()

void PixoVR.Apex.ApexSystem._ParsePassedData ( Dictionary< string, string > arguments)
inlineprotected

Definition at line 910 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ _QuickIDLogin()

bool PixoVR.Apex.ApexSystem._QuickIDLogin ( string serialNumber,
string username )
inlineprotected

Definition at line 1305 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _RequestAuthorizationCode()

bool PixoVR.Apex.ApexSystem._RequestAuthorizationCode ( )
inlineprivate

Definition at line 1527 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _SendHeartbeat()

bool PixoVR.Apex.ApexSystem._SendHeartbeat ( )
inlineprotected

Definition at line 1246 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _SendSessionEvent()

void PixoVR.Apex.ApexSystem._SendSessionEvent ( Statement eventStatement,
Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlineprotected

Definition at line 1076 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _SendSimpleSessionEvent()

void PixoVR.Apex.ApexSystem._SendSimpleSessionEvent ( string verbName,
string targetObject,
Extension contextExtension,
Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlineprotected

Definition at line 1031 of file ApexSystem.cs.

Here is the call graph for this function:

◆ AppendStandardContextExtension() [1/2]

Extensions PixoVR.Apex.ApexSystem.AppendStandardContextExtension ( Extension currentContextExtension)
inlineprivate

Definition at line 1330 of file ApexSystem.cs.

Here is the call graph for this function:

◆ AppendStandardContextExtension() [2/2]

Extensions PixoVR.Apex.ApexSystem.AppendStandardContextExtension ( Extensions currentContextExtensions)
inlineprivate

Definition at line 1325 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Awake()

void PixoVR.Apex.ApexSystem.Awake ( )
inlineprivate

Definition at line 278 of file ApexSystem.cs.

Here is the call graph for this function:

◆ ChangePlatformServer()

static void PixoVR.Apex.ApexSystem.ChangePlatformServer ( PlatformServer newServer)
inlinestatic

Definition at line 748 of file ApexSystem.cs.

◆ CheckModuleAccess()

static bool PixoVR.Apex.ApexSystem.CheckModuleAccess ( int targetModuleID = -1)
inlinestatic

Definition at line 817 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ CompleteSession()

static void PixoVR.Apex.ApexSystem.CompleteSession ( SessionData currentSessionData,
Extension contextExtension = null,
Extension resultExtension = null,
Action< HttpResponseMessage, object > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlinestatic

Definition at line 827 of file ApexSystem.cs.

◆ ConnectWebsocket()

void PixoVR.Apex.ApexSystem.ConnectWebsocket ( )
inlineprivate

Definition at line 639 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DetermineScaledScore()

float PixoVR.Apex.ApexSystem.DetermineScaledScore ( float scaledScore,
float score,
float maxScore )
inlineprivate

Definition at line 1313 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ DisconnectWebsocket()

void PixoVR.Apex.ApexSystem.DisconnectWebsocket ( )
inlineprivate

Definition at line 644 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ExitApplication()

static void PixoVR.Apex.ApexSystem.ExitApplication ( string nextExitTarget = "")
inlinestatic

Definition at line 738 of file ApexSystem.cs.

◆ FixedUpdate()

void PixoVR.Apex.ApexSystem.FixedUpdate ( )
inlineprivate

Definition at line 620 of file ApexSystem.cs.

Here is the call graph for this function:

◆ GenerateFailureResponse()

FailureResponse PixoVR.Apex.ApexSystem.GenerateFailureResponse ( string message)
inlineprotected

Definition at line 898 of file ApexSystem.cs.

◆ GenerateOneTimeLoginForCurrentUser()

static bool PixoVR.Apex.ApexSystem.GenerateOneTimeLoginForCurrentUser ( Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlinestatic

Definition at line 1536 of file ApexSystem.cs.

◆ GenerateOneTimeLoginForUser()

static void PixoVR.Apex.ApexSystem.GenerateOneTimeLoginForUser ( int userId,
Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlinestatic

Definition at line 1549 of file ApexSystem.cs.

◆ GetCurrentUser()

static bool PixoVR.Apex.ApexSystem.GetCurrentUser ( )
inlinestatic

Definition at line 842 of file ApexSystem.cs.

Here is the call graph for this function:

◆ GetCurrentUserModules()

static bool PixoVR.Apex.ApexSystem.GetCurrentUserModules ( )
inlinestatic

Definition at line 852 of file ApexSystem.cs.

Here is the call graph for this function:

◆ GetDevicesForOrg()

static void PixoVR.Apex.ApexSystem.GetDevicesForOrg ( int page,
FilterParams filterParams,
Action< HttpResponseMessage, OrgDevicesResponse > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlinestatic

Definition at line 1580 of file ApexSystem.cs.

◆ GetEndpointFromTarget()

string PixoVR.Apex.ApexSystem.GetEndpointFromTarget ( PlatformServer target)
inlineprivate

Definition at line 577 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GetModulesList()

static bool PixoVR.Apex.ApexSystem.GetModulesList ( string platformName)
inlinestatic

Definition at line 862 of file ApexSystem.cs.

◆ GetPlatformEndpointFromPlatformTarget()

string PixoVR.Apex.ApexSystem.GetPlatformEndpointFromPlatformTarget ( PlatformServer target)
inlineprivate

Definition at line 582 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GetQuickIDAuthUsers()

static bool PixoVR.Apex.ApexSystem.GetQuickIDAuthUsers ( string serialNumber)
inlinestatic

Definition at line 867 of file ApexSystem.cs.

◆ GetSesssionHistory()

static void PixoVR.Apex.ApexSystem.GetSesssionHistory ( int page,
SessionFilters sessionFilters,
FilterParams filterParams,
Action< HttpResponseMessage, SessionHistoryResponse > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlinestatic

Definition at line 1592 of file ApexSystem.cs.

◆ GetUser()

static bool PixoVR.Apex.ApexSystem.GetUser ( int userId = -1)
inlinestatic

Definition at line 847 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GetUserMetricsForCurrentUsersOrg()

static void PixoVR.Apex.ApexSystem.GetUserMetricsForCurrentUsersOrg ( int page,
FilterParams filterParams,
Action< UserMetricsResponse, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlinestatic

Definition at line 1568 of file ApexSystem.cs.

◆ GetUserModules()

static bool PixoVR.Apex.ApexSystem.GetUserModules ( int userId = -1)
inlinestatic

Definition at line 857 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ HandleLogin()

void PixoVR.Apex.ApexSystem.HandleLogin ( bool successful,
object responseData )
inlineprotected

Definition at line 1503 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ InitializeInstance()

bool PixoVR.Apex.ApexSingleton< T >.InitializeInstance ( T targetInstance)
inlineinherited

Definition at line 14 of file ApexSingleton.cs.

◆ IsModuleMajorVersionPartValid()

bool PixoVR.Apex.ApexSystem.IsModuleMajorVersionPartValid ( string modulePart)
inlineprivate

Definition at line 727 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ IsModuleNonMajorVersionPartValid()

bool PixoVR.Apex.ApexSystem.IsModuleNonMajorVersionPartValid ( string modulePart)
inlineprivate

Definition at line 716 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ IsModuleVersionOnlyNumerical()

bool PixoVR.Apex.ApexSystem.IsModuleVersionOnlyNumerical ( )
inlineprivate

Definition at line 711 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ IsModuleVersionValid()

bool PixoVR.Apex.ApexSystem.IsModuleVersionValid ( )
inlineprivate

Definition at line 687 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ JoinSession()

static void PixoVR.Apex.ApexSystem.JoinSession ( string scenarioID = null,
Extension contextExtension = null,
Action< HttpResponseMessage, JoinSessionResponse > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlinestatic

Definition at line 822 of file ApexSystem.cs.

◆ Login() [1/2]

static bool PixoVR.Apex.ApexSystem.Login ( LoginData login)
inlinestatic

Definition at line 778 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ Login() [2/2]

static bool PixoVR.Apex.ApexSystem.Login ( string username,
string password )
inlinestatic

Definition at line 812 of file ApexSystem.cs.

Here is the call graph for this function:

◆ LoginWithToken() [1/2]

static bool PixoVR.Apex.ApexSystem.LoginWithToken ( )
inlinestatic

Definition at line 758 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LoginWithToken() [2/2]

static bool PixoVR.Apex.ApexSystem.LoginWithToken ( string token)
inlinestatic

Definition at line 764 of file ApexSystem.cs.

◆ OnAPIResponse()

void PixoVR.Apex.ApexSystem.OnAPIResponse ( ResponseType response,
HttpResponseMessage message,
object responseData )
inlineprotected

Definition at line 1355 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDeepLinkActivated()

void PixoVR.Apex.ApexSystem.OnDeepLinkActivated ( string url)
inlineprivate

Definition at line 340 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnDestroy()

virtual void PixoVR.Apex.ApexSingleton< T >.OnDestroy ( )
inlinevirtualinherited

When Unity quits, it destroys objects in a random order. In principle, a Singleton is only destroyed when application quits. If any script calls Instance after it have been destroyed, it will create a buggy ghost object that will stay on the Editor scene even after stopping playing the Application. Really bad! So, this was made to be sure we're not creating that buggy ghost object.

Definition at line 93 of file ApexSingleton.cs.

◆ OnWebSocketClosed()

void PixoVR.Apex.ApexSystem.OnWebSocketClosed ( System::Net::WebSockets::WebSocketCloseStatus reason)
inlineprivate

Definition at line 682 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ OnWebSocketConnected()

void PixoVR.Apex.ApexSystem.OnWebSocketConnected ( )
inlineprivate

Definition at line 649 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ OnWebSocketConnectFailed()

void PixoVR.Apex.ApexSystem.OnWebSocketConnectFailed ( string reason)
inlineprivate

Definition at line 654 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ OnWebSocketReceive()

void PixoVR.Apex.ApexSystem.OnWebSocketReceive ( string data)
inlineprivate

Definition at line 659 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Ping()

static void PixoVR.Apex.ApexSystem.Ping ( Action< HttpResponseMessage, object > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlinestatic

Definition at line 753 of file ApexSystem.cs.

◆ PopulateWebSocketURL()

void PixoVR.Apex.ApexSystem.PopulateWebSocketURL ( )
inlineprivate

Definition at line 590 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ QuickIDLogin()

static bool PixoVR.Apex.ApexSystem.QuickIDLogin ( string serialNumber,
string username )
inlinestatic

Definition at line 872 of file ApexSystem.cs.

◆ RequestAuthorizationCode()

static bool PixoVR.Apex.ApexSystem.RequestAuthorizationCode ( )
inlinestatic

Definition at line 743 of file ApexSystem.cs.

◆ SendSessionEvent()

static void PixoVR.Apex.ApexSystem.SendSessionEvent ( Statement eventStatement,
Action< HttpResponseMessage, object > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlinestatic

Definition at line 837 of file ApexSystem.cs.

◆ SendSimpleSessionEvent()

static void PixoVR.Apex.ApexSystem.SendSimpleSessionEvent ( string action,
string targetObject,
Extension contextExtension,
Action< HttpResponseMessage, object > success = null,
Action< HttpResponseMessage, FailureResponse > failure = null )
inlinestatic

Definition at line 832 of file ApexSystem.cs.

◆ SetupAPI()

void PixoVR.Apex.ApexSystem.SetupAPI ( )
inlineprivate

Definition at line 402 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupDeepLinking()

void PixoVR.Apex.ApexSystem.SetupDeepLinking ( )
inlineprivate

Definition at line 330 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetupPlatformConfiguration()

void PixoVR.Apex.ApexSystem.SetupPlatformConfiguration ( )
inlineprivate

Definition at line 347 of file ApexSystem.cs.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Start()

void PixoVR.Apex.ApexSystem.Start ( )
inlineprivate

Definition at line 607 of file ApexSystem.cs.

Here is the call graph for this function:

Member Data Documentation

◆ apexAPIHandler

APIHandler PixoVR.Apex.ApexSystem.apexAPIHandler
protected

Definition at line 245 of file ApexSystem.cs.

◆ ApplicationIsQuitting

bool PixoVR.Apex.ApexSingleton< T >.ApplicationIsQuitting
staticprivateinherited

Definition at line 84 of file ApexSingleton.cs.

◆ clientIP

string PixoVR.Apex.ApexSystem.clientIP
protected

Definition at line 230 of file ApexSystem.cs.

◆ currentActiveLogin

LoginResponseContent PixoVR.Apex.ApexSystem.currentActiveLogin = null
protected

Definition at line 244 of file ApexSystem.cs.

◆ currentExitTargetParameter

string PixoVR.Apex.ApexSystem.currentExitTargetParameter = ""
protected

Definition at line 241 of file ApexSystem.cs.

◆ currentSessionID

Guid PixoVR.Apex.ApexSystem.currentSessionID
protected

Definition at line 231 of file ApexSystem.cs.

◆ deviceID

string PixoVR.Apex.ApexSystem.deviceID
protected

Definition at line 227 of file ApexSystem.cs.

◆ deviceModel

string PixoVR.Apex.ApexSystem.deviceModel
protected

Definition at line 228 of file ApexSystem.cs.

◆ deviceSerialNumber

string PixoVR.Apex.ApexSystem.deviceSerialNumber = ""
protected

Definition at line 236 of file ApexSystem.cs.

◆ hasParsedArguments

bool PixoVR.Apex.ApexSystem.hasParsedArguments = false
protected

Definition at line 237 of file ApexSystem.cs.

◆ heartbeatSessionID

int PixoVR.Apex.ApexSystem.heartbeatSessionID
protected

Definition at line 232 of file ApexSystem.cs.

◆ heartbeatTime

float PixoVR.Apex.ApexSystem.heartbeatTime = 5.0f
protectedSerializeField

[SerializeField]

Definition at line 224 of file ApexSystem.cs.

◆ heartbeatTimer

float PixoVR.Apex.ApexSystem.heartbeatTimer
protected

Definition at line 233 of file ApexSystem.cs.

◆ instance

T PixoVR.Apex.ApexSingleton< T >.instance
staticprivateinherited

Definition at line 10 of file ApexSingleton.cs.

◆ lockObject

readonly object PixoVR.Apex.ApexSingleton< T >.lockObject
staticprivateinherited

Definition at line 12 of file ApexSingleton.cs.

◆ loginCheckModuleAccess

bool PixoVR.Apex.ApexSystem.loginCheckModuleAccess = true
SerializeField

[SerializeField]

Definition at line 215 of file ApexSystem.cs.

◆ loginToken

string PixoVR.Apex.ApexSystem.loginToken = ""
protected

Definition at line 239 of file ApexSystem.cs.

◆ MASTER_TAG

readonly string PixoVR.Apex.ApexSingleton< T >.MASTER_TAG
staticprivateinherited

Definition at line 9 of file ApexSingleton.cs.

◆ moduleID

int PixoVR.Apex.ApexSystem.moduleID = 0
protectedSerializeField

[SerializeField]

Definition at line 170 of file ApexSystem.cs.

◆ moduleName

string PixoVR.Apex.ApexSystem.moduleName = "Generic"
protectedSerializeField

[SerializeField]

Definition at line 179 of file ApexSystem.cs.

◆ moduleVersion

string PixoVR.Apex.ApexSystem.moduleVersion = ""
protectedSerializeField

[SerializeField]

Definition at line 188 of file ApexSystem.cs.

◆ OnAuthorizationCodeReceived

OnAuthCodeReceived PixoVR.Apex.ApexSystem.OnAuthorizationCodeReceived = new OnAuthCodeReceived()

Definition at line 267 of file ApexSystem.cs.

◆ OnGeneratedAssistedLoginFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnGeneratedAssistedLoginFailed = new()

Definition at line 270 of file ApexSystem.cs.

◆ OnGeneratedAssistedLoginSuccess

OnGeneratedAssistedLoginSuccessEvent PixoVR.Apex.ApexSystem.OnGeneratedAssistedLoginSuccess = new()

Definition at line 269 of file ApexSystem.cs.

◆ OnGetOrganizationModulesFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnGetOrganizationModulesFailed = new OnApexFailureEvent()

Definition at line 263 of file ApexSystem.cs.

◆ OnGetOrganizationModulesSuccess

OnGetOrgModulesSuccessEvent PixoVR.Apex.ApexSystem.OnGetOrganizationModulesSuccess = new OnGetOrgModulesSuccessEvent()

Definition at line 262 of file ApexSystem.cs.

◆ OnGetQuickIDAuthGetUsersFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnGetQuickIDAuthGetUsersFailed = new()

Definition at line 273 of file ApexSystem.cs.

◆ OnGetQuickIDAuthGetUsersSuccess

OnGetQuickIDAuthUsersSuccessEvent PixoVR.Apex.ApexSystem.OnGetQuickIDAuthGetUsersSuccess = new()

Definition at line 272 of file ApexSystem.cs.

◆ OnGetUserFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnGetUserFailed = new OnApexFailureEvent()

Definition at line 257 of file ApexSystem.cs.

◆ OnGetUserModulesFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnGetUserModulesFailed = new OnApexFailureEvent()

Definition at line 260 of file ApexSystem.cs.

◆ OnGetUserModulesSuccess

OnGetUserModulesSuccessEvent PixoVR.Apex.ApexSystem.OnGetUserModulesSuccess = new OnGetUserModulesSuccessEvent()

Definition at line 259 of file ApexSystem.cs.

◆ OnGetUserSuccess

OnGetUserSuccessEvent PixoVR.Apex.ApexSystem.OnGetUserSuccess = new OnGetUserSuccessEvent()

Definition at line 256 of file ApexSystem.cs.

◆ OnLoginFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnLoginFailed = new OnApexFailureEvent()

Definition at line 254 of file ApexSystem.cs.

◆ OnLoginSuccess

OnLoginSuccessEvent PixoVR.Apex.ApexSystem.OnLoginSuccess = new OnLoginSuccessEvent()

Definition at line 253 of file ApexSystem.cs.

◆ OnModuleAccessFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnModuleAccessFailed = new OnApexFailureEvent()

Definition at line 251 of file ApexSystem.cs.

◆ OnModuleAccessSuccess

OnModuleAccessSuccessEvent PixoVR.Apex.ApexSystem.OnModuleAccessSuccess = new OnModuleAccessSuccessEvent()

Definition at line 250 of file ApexSystem.cs.

◆ OnPlatformResponse

PlatformResponse PixoVR.Apex.ApexSystem.OnPlatformResponse = null

Definition at line 265 of file ApexSystem.cs.

◆ OnQuickIDAuthLoginFailed

OnApexFailureEvent PixoVR.Apex.ApexSystem.OnQuickIDAuthLoginFailed = new()

Definition at line 276 of file ApexSystem.cs.

◆ OnQuickIDAuthLoginSuccess

OnQuickIDAuthLoginSuccessEvent PixoVR.Apex.ApexSystem.OnQuickIDAuthLoginSuccess = new()

Definition at line 275 of file ApexSystem.cs.

◆ optionalParameter

string PixoVR.Apex.ApexSystem.optionalParameter = ""
protected

Definition at line 240 of file ApexSystem.cs.

◆ platform

string PixoVR.Apex.ApexSystem.platform
protected

Definition at line 229 of file ApexSystem.cs.

◆ PlatformTargetServer

PlatformServer PixoVR.Apex.ApexSystem.PlatformTargetServer
protected

Definition at line 152 of file ApexSystem.cs.

◆ runSetupOnAwake

bool PixoVR.Apex.ApexSystem.runSetupOnAwake = true
SerializeField

[SerializeField]

Definition at line 206 of file ApexSystem.cs.

◆ scenarioID

string PixoVR.Apex.ApexSystem.scenarioID = "Generic"
protectedSerializeField

[SerializeField]

Definition at line 197 of file ApexSystem.cs.

◆ serverIP

string PixoVR.Apex.ApexSystem.serverIP = ""
protectedSerializeField

[SerializeField]

Definition at line 161 of file ApexSystem.cs.

◆ sessionInProgress

bool PixoVR.Apex.ApexSystem.sessionInProgress
protected

Definition at line 234 of file ApexSystem.cs.

◆ socketConnectTask

Task<bool> PixoVR.Apex.ApexSystem.socketConnectTask
protected

Definition at line 247 of file ApexSystem.cs.

◆ socketDisconnectTask

Task PixoVR.Apex.ApexSystem.socketDisconnectTask
protected

Definition at line 248 of file ApexSystem.cs.

◆ TAG

readonly string PixoVR.Apex.ApexSystem.TAG = "ApexSystem"
staticprivate

Definition at line 27 of file ApexSystem.cs.

◆ targetTypeParameter

string PixoVR.Apex.ApexSystem.targetTypeParameter = ""
protected

Definition at line 242 of file ApexSystem.cs.

◆ userAccessVerified

bool PixoVR.Apex.ApexSystem.userAccessVerified = false
protected

Definition at line 235 of file ApexSystem.cs.

◆ VersionValidator

readonly Regex PixoVR.Apex.ApexSystem.VersionValidator = new Regex(@"^[0123456789.]+$")
staticprivate

Definition at line 709 of file ApexSystem.cs.

◆ webSocket

ApexWebsocket PixoVR.Apex.ApexSystem.webSocket
protected

Definition at line 246 of file ApexSystem.cs.

◆ webSocketUrl

string PixoVR.Apex.ApexSystem.webSocketUrl
protected

Definition at line 226 of file ApexSystem.cs.

Property Documentation

◆ ApexAPIHandler

APIHandler PixoVR.Apex.ApexSystem.ApexAPIHandler
staticget

Definition at line 146 of file ApexSystem.cs.

◆ APIEndpoint

string PixoVR.Apex.ApexSystem.APIEndpoint
staticget

Definition at line 141 of file ApexSystem.cs.

◆ CurrentActiveLogin

LoginResponseContent PixoVR.Apex.ApexSystem.CurrentActiveLogin
staticgetset

Definition at line 65 of file ApexSystem.cs.

◆ CurrentExitTarget

string PixoVR.Apex.ApexSystem.CurrentExitTarget
staticgetset

Definition at line 110 of file ApexSystem.cs.

◆ DeviceSerialNumber

string PixoVR.Apex.ApexSystem.DeviceSerialNumber
staticgetset

Definition at line 83 of file ApexSystem.cs.

◆ Instance

T PixoVR.Apex.ApexSingleton< T >.Instance
staticgetinherited

Definition at line 34 of file ApexSingleton.cs.

◆ LoginCheckModuleAccess

bool PixoVR.Apex.ApexSystem.LoginCheckModuleAccess
staticgetset

Definition at line 77 of file ApexSystem.cs.

◆ ModuleID

int PixoVR.Apex.ApexSystem.ModuleID
staticgetset

Definition at line 41 of file ApexSystem.cs.

◆ ModuleName

string PixoVR.Apex.ApexSystem.ModuleName
staticgetset

Definition at line 47 of file ApexSystem.cs.

◆ ModuleVersion

string PixoVR.Apex.ApexSystem.ModuleVersion
staticgetset

Definition at line 53 of file ApexSystem.cs.

◆ OptionalData

string PixoVR.Apex.ApexSystem.OptionalData
staticgetset

Definition at line 104 of file ApexSystem.cs.

◆ PassedLoginToken

string PixoVR.Apex.ApexSystem.PassedLoginToken
staticgetprotected set

Definition at line 89 of file ApexSystem.cs.

◆ RunSetupOnAwake

bool PixoVR.Apex.ApexSystem.RunSetupOnAwake
staticgetset

Definition at line 71 of file ApexSystem.cs.

◆ ScenarioID

string PixoVR.Apex.ApexSystem.ScenarioID
staticgetset

Definition at line 59 of file ApexSystem.cs.

◆ ServerIP

string PixoVR.Apex.ApexSystem.ServerIP
staticgetset

Definition at line 35 of file ApexSystem.cs.

◆ TargetType

string PixoVR.Apex.ApexSystem.TargetType
staticgetprivate set

Definition at line 135 of file ApexSystem.cs.


The documentation for this class was generated from the following file: