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 bool CompleteSession (SessionData currentSessionData, Extension contextExtension=null, Extension resultExtension=null)
 
static void ExitApplication (string nextExitTarget="")
 
static bool GenerateOneTimeLoginForCurrentUser (Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GenerateOneTimeLoginForUser (int userId, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
static bool GetCurrentUser ()
 
static bool GetCurrentUserModules ()
 
static bool GetModulesList (string platformName)
 
static bool GetQuickIDAuthUsers (string serialNumber)
 
static bool GetUser (int userId=-1)
 
static bool GetUserMetricsForCurrentUsersOrg (int page)
 
static bool GetUserModules (int userId=-1)
 
static bool JoinSession (string scenarioID=null, Extension contextExtension=null)
 
static bool Login (LoginData login)
 
static bool Login (string username, string password)
 
static bool LoginWithToken ()
 
static bool LoginWithToken (string token)
 
static void Ping ()
 
static bool QuickIDLogin (string serialNumber, string username)
 
static bool RequestAuthorizationCode ()
 
static bool SendSessionEvent (Statement eventStatement)
 
static bool SendSimpleSessionEvent (string action, string targetObject, Extension contextExtension)
 

Public Attributes

bool loginCheckModuleAccess = true
 [SerializeField]
 
OnAuthCodeReceived OnAuthorizationCodeReceived = new OnAuthCodeReceived()
 
OnApexFailureEvent OnCompleteSessionFailed = new OnApexFailureEvent()
 
OnHttpResponseEvent OnCompleteSessionSuccess = new OnHttpResponseEvent()
 
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 OnGetUserMetricsForOrgFailed = new OnApexFailureEvent()
 
OnGetUserMetricsForOrgSuccessEvent OnGetUserMetricsForOrgSuccess = new()
 
OnApexFailureEvent OnGetUserModulesFailed = new OnApexFailureEvent()
 
OnGetUserModulesSuccessEvent OnGetUserModulesSuccess = new OnGetUserModulesSuccessEvent()
 
OnGetUserSuccessEvent OnGetUserSuccess = new OnGetUserSuccessEvent()
 
OnApexFailureEvent OnJoinSessionFailed = new OnApexFailureEvent()
 
OnHttpResponseEvent OnJoinSessionSuccess = new OnHttpResponseEvent()
 
OnApexFailureEvent OnLoginFailed = new OnApexFailureEvent()
 
OnLoginSuccessEvent OnLoginSuccess = new OnLoginSuccessEvent()
 
OnApexFailureEvent OnModuleAccessFailed = new OnApexFailureEvent()
 
OnModuleAccessSuccessEvent OnModuleAccessSuccess = new OnModuleAccessSuccessEvent()
 
OnHttpResponseEvent OnPingFailed = new OnHttpResponseEvent()
 
OnHttpResponseEvent OnPingSuccess = new OnHttpResponseEvent()
 
PlatformResponse OnPlatformResponse = null
 
OnApexFailureEvent OnQuickIDAuthLoginFailed = new()
 
OnQuickIDAuthLoginSuccessEvent OnQuickIDAuthLoginSuccess = new()
 
OnApexFailureEvent OnSendEventFailed = new OnApexFailureEvent()
 
OnHttpResponseEvent OnSendEventSuccess = new OnHttpResponseEvent()
 
bool runSetupOnAwake = true
 [SerializeField]
 

Protected Member Functions

void _ChangePlatformServer (PlatformServer newServer)
 
bool _CheckModuleAccess (int targetModuleID=-1)
 
bool _CompleteSession (SessionData currentSessionData, Extension contextExtension, Extension resultExtension)
 
bool _GetModuleList (string platformName)
 
bool _GetQuickIDAuthUsers (string serialNumber)
 
bool _GetUser (int userId=-1)
 
bool _GetUserModules (int userId=-1)
 
bool _JoinSession (string newScenarioID=null, Extension contextExtension=null)
 
bool _Login (LoginData login)
 
bool _Login (string username, string password)
 
bool _LoginWithToken (string token)
 
void _ParsePassedData (Dictionary< string, string > arguments)
 
void _Ping ()
 
bool _QuickIDLogin (string serialNumber, string username)
 
bool _SendHeartbeat ()
 
bool _SendSessionEvent (Statement eventStatement)
 
bool _SendSimpleSessionEvent (string verbName, string targetObject, Extension contextExtension)
 
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 = "0.00.00"
 [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 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 _GenerateOneTimeLoginForCurrentUser (Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
bool _GenerateOneTimeLoginForUser (int userId, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
bool _GetUserMetricsForCurrentUsersOrg (int page)
 
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)
 
string GetWebEndpointFromPlatformTarget (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 23 of file ApexSystem.cs.

Member Enumeration Documentation

◆ VersionParts

Enumerator
Major 
Minor 
Patch 

Definition at line 26 of file ApexSystem.cs.

Member Function Documentation

◆ _ChangePlatformServer()

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

Definition at line 843 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 953 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _CompleteSession()

bool PixoVR.Apex.ApexSystem._CompleteSession ( SessionData currentSessionData,
Extension contextExtension,
Extension resultExtension )
inlineprotected

Definition at line 1165 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _ExitApplication()

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

Definition at line 440 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GenerateOneTimeLoginForCurrentUser()

bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForCurrentUser ( Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlineprivate

Definition at line 1671 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GenerateOneTimeLoginForUser()

bool PixoVR.Apex.ApexSystem._GenerateOneTimeLoginForUser ( int userId,
Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inlineprivate

Definition at line 1653 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetModuleList()

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

Definition at line 1301 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetQuickIDAuthUsers()

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

Definition at line 1310 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 1273 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _GetUserMetricsForCurrentUsersOrg()

bool PixoVR.Apex.ApexSystem._GetUserMetricsForCurrentUsersOrg ( int page)
inlineprivate

Definition at line 1683 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 1287 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _JoinSession()

bool PixoVR.Apex.ApexSystem._JoinSession ( string newScenarioID = null,
Extension contextExtension = null )
inlineprotected

Definition at line 974 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _Login() [1/2]

bool PixoVR.Apex.ApexSystem._Login ( LoginData login)
inlineprotected

Definition at line 869 of file ApexSystem.cs.

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

◆ _Login() [2/2]

bool PixoVR.Apex.ApexSystem._Login ( string username,
string password )
inlineprotected

Definition at line 903 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _LoginWithToken()

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

Definition at line 855 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 918 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ _Ping()

void PixoVR.Apex.ApexSystem._Ping ( )
inlineprotected

Definition at line 850 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _QuickIDLogin()

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

Definition at line 1318 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _RequestAuthorizationCode()

bool PixoVR.Apex.ApexSystem._RequestAuthorizationCode ( )
inlineprivate

Definition at line 1627 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _SendHeartbeat()

bool PixoVR.Apex.ApexSystem._SendHeartbeat ( )
inlineprotected

Definition at line 1259 of file ApexSystem.cs.

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

◆ _SendSessionEvent()

bool PixoVR.Apex.ApexSystem._SendSessionEvent ( Statement eventStatement)
inlineprotected

Definition at line 1091 of file ApexSystem.cs.

Here is the call graph for this function:

◆ _SendSimpleSessionEvent()

bool PixoVR.Apex.ApexSystem._SendSimpleSessionEvent ( string verbName,
string targetObject,
Extension contextExtension )
inlineprotected

Definition at line 1039 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 1343 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 1338 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 281 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 779 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ CompleteSession()

static bool PixoVR.Apex.ApexSystem.CompleteSession ( SessionData currentSessionData,
Extension contextExtension = null,
Extension resultExtension = null )
inlinestatic

Definition at line 789 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 1326 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 908 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GenerateOneTimeLoginForCurrentUser()

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

Definition at line 1636 of file ApexSystem.cs.

◆ GenerateOneTimeLoginForUser()

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

Definition at line 1641 of file ApexSystem.cs.

◆ GetCurrentUser()

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

Definition at line 808 of file ApexSystem.cs.

Here is the call graph for this function:

◆ GetCurrentUserModules()

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

Definition at line 818 of file ApexSystem.cs.

Here is the call graph for this function:

◆ GetEndpointFromTarget()

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

Definition at line 569 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 828 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 833 of file ApexSystem.cs.

◆ GetUser()

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

Definition at line 813 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GetUserMetricsForCurrentUsersOrg()

static bool PixoVR.Apex.ApexSystem.GetUserMetricsForCurrentUsersOrg ( int page)
inlinestatic

Definition at line 1646 of file ApexSystem.cs.

◆ GetUserModules()

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

Definition at line 823 of file ApexSystem.cs.

Here is the caller graph for this function:

◆ GetWebEndpointFromPlatformTarget()

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

Definition at line 574 of file ApexSystem.cs.

◆ HandleLogin()

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

Definition at line 1603 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 bool PixoVR.Apex.ApexSystem.JoinSession ( string scenarioID = null,
Extension contextExtension = null )
inlinestatic

Definition at line 784 of file ApexSystem.cs.

◆ Login() [1/2]

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

Definition at line 769 of file ApexSystem.cs.

◆ Login() [2/2]

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

Definition at line 774 of file ApexSystem.cs.

◆ 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 1368 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 334 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 ( )
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 838 of file ApexSystem.cs.

◆ RequestAuthorizationCode()

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

Definition at line 743 of file ApexSystem.cs.

◆ SendSessionEvent()

static bool PixoVR.Apex.ApexSystem.SendSessionEvent ( Statement eventStatement)
inlinestatic

Definition at line 803 of file ApexSystem.cs.

◆ SendSimpleSessionEvent()

static bool PixoVR.Apex.ApexSystem.SendSimpleSessionEvent ( string action,
string targetObject,
Extension contextExtension )
inlinestatic

Definition at line 798 of file ApexSystem.cs.

◆ SetupAPI()

void PixoVR.Apex.ApexSystem.SetupAPI ( )
inlineprivate

Definition at line 396 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 324 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 341 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 233 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 218 of file ApexSystem.cs.

◆ currentActiveLogin

LoginResponseContent PixoVR.Apex.ApexSystem.currentActiveLogin = null
protected

Definition at line 232 of file ApexSystem.cs.

◆ currentExitTargetParameter

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

Definition at line 229 of file ApexSystem.cs.

◆ currentSessionID

Guid PixoVR.Apex.ApexSystem.currentSessionID
protected

Definition at line 219 of file ApexSystem.cs.

◆ deviceID

string PixoVR.Apex.ApexSystem.deviceID
protected

Definition at line 215 of file ApexSystem.cs.

◆ deviceModel

string PixoVR.Apex.ApexSystem.deviceModel
protected

Definition at line 216 of file ApexSystem.cs.

◆ deviceSerialNumber

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

Definition at line 224 of file ApexSystem.cs.

◆ hasParsedArguments

bool PixoVR.Apex.ApexSystem.hasParsedArguments = false
protected

Definition at line 225 of file ApexSystem.cs.

◆ heartbeatSessionID

int PixoVR.Apex.ApexSystem.heartbeatSessionID
protected

Definition at line 220 of file ApexSystem.cs.

◆ heartbeatTime

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

[SerializeField]

Definition at line 212 of file ApexSystem.cs.

◆ heartbeatTimer

float PixoVR.Apex.ApexSystem.heartbeatTimer
protected

Definition at line 221 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 203 of file ApexSystem.cs.

◆ loginToken

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

Definition at line 227 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 158 of file ApexSystem.cs.

◆ moduleName

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

[SerializeField]

Definition at line 167 of file ApexSystem.cs.

◆ moduleVersion

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

[SerializeField]

Definition at line 176 of file ApexSystem.cs.

◆ OnAuthorizationCodeReceived

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

Definition at line 267 of file ApexSystem.cs.

◆ OnCompleteSessionFailed

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

Definition at line 257 of file ApexSystem.cs.

◆ OnCompleteSessionSuccess

OnHttpResponseEvent PixoVR.Apex.ApexSystem.OnCompleteSessionSuccess = new OnHttpResponseEvent()

Definition at line 256 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 248 of file ApexSystem.cs.

◆ OnGetUserMetricsForOrgFailed

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

Definition at line 279 of file ApexSystem.cs.

◆ OnGetUserMetricsForOrgSuccess

OnGetUserMetricsForOrgSuccessEvent PixoVR.Apex.ApexSystem.OnGetUserMetricsForOrgSuccess = new()

Definition at line 278 of file ApexSystem.cs.

◆ OnGetUserModulesFailed

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

Definition at line 251 of file ApexSystem.cs.

◆ OnGetUserModulesSuccess

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

Definition at line 250 of file ApexSystem.cs.

◆ OnGetUserSuccess

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

Definition at line 247 of file ApexSystem.cs.

◆ OnJoinSessionFailed

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

Definition at line 254 of file ApexSystem.cs.

◆ OnJoinSessionSuccess

OnHttpResponseEvent PixoVR.Apex.ApexSystem.OnJoinSessionSuccess = new OnHttpResponseEvent()

Definition at line 253 of file ApexSystem.cs.

◆ OnLoginFailed

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

Definition at line 245 of file ApexSystem.cs.

◆ OnLoginSuccess

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

Definition at line 244 of file ApexSystem.cs.

◆ OnModuleAccessFailed

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

Definition at line 242 of file ApexSystem.cs.

◆ OnModuleAccessSuccess

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

Definition at line 241 of file ApexSystem.cs.

◆ OnPingFailed

OnHttpResponseEvent PixoVR.Apex.ApexSystem.OnPingFailed = new OnHttpResponseEvent()

Definition at line 239 of file ApexSystem.cs.

◆ OnPingSuccess

OnHttpResponseEvent PixoVR.Apex.ApexSystem.OnPingSuccess = new OnHttpResponseEvent()

Definition at line 238 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.

◆ OnSendEventFailed

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

Definition at line 260 of file ApexSystem.cs.

◆ OnSendEventSuccess

OnHttpResponseEvent PixoVR.Apex.ApexSystem.OnSendEventSuccess = new OnHttpResponseEvent()

Definition at line 259 of file ApexSystem.cs.

◆ optionalParameter

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

Definition at line 228 of file ApexSystem.cs.

◆ platform

string PixoVR.Apex.ApexSystem.platform
protected

Definition at line 217 of file ApexSystem.cs.

◆ PlatformTargetServer

PlatformServer PixoVR.Apex.ApexSystem.PlatformTargetServer
protected

Definition at line 140 of file ApexSystem.cs.

◆ runSetupOnAwake

bool PixoVR.Apex.ApexSystem.runSetupOnAwake = true
SerializeField

[SerializeField]

Definition at line 194 of file ApexSystem.cs.

◆ scenarioID

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

[SerializeField]

Definition at line 185 of file ApexSystem.cs.

◆ serverIP

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

[SerializeField]

Definition at line 149 of file ApexSystem.cs.

◆ sessionInProgress

bool PixoVR.Apex.ApexSystem.sessionInProgress
protected

Definition at line 222 of file ApexSystem.cs.

◆ socketConnectTask

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

Definition at line 235 of file ApexSystem.cs.

◆ socketDisconnectTask

Task PixoVR.Apex.ApexSystem.socketDisconnectTask
protected

Definition at line 236 of file ApexSystem.cs.

◆ TAG

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

Definition at line 25 of file ApexSystem.cs.

◆ targetTypeParameter

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

Definition at line 230 of file ApexSystem.cs.

◆ userAccessVerified

bool PixoVR.Apex.ApexSystem.userAccessVerified = false
protected

Definition at line 223 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 234 of file ApexSystem.cs.

◆ webSocketUrl

string PixoVR.Apex.ApexSystem.webSocketUrl
protected

Definition at line 214 of file ApexSystem.cs.

Property Documentation

◆ CurrentActiveLogin

LoginResponseContent PixoVR.Apex.ApexSystem.CurrentActiveLogin
staticgetset

Definition at line 63 of file ApexSystem.cs.

◆ CurrentExitTarget

string PixoVR.Apex.ApexSystem.CurrentExitTarget
staticgetset

Definition at line 108 of file ApexSystem.cs.

◆ DeviceSerialNumber

string PixoVR.Apex.ApexSystem.DeviceSerialNumber
staticgetset

Definition at line 81 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 75 of file ApexSystem.cs.

◆ ModuleID

int PixoVR.Apex.ApexSystem.ModuleID
staticgetset

Definition at line 39 of file ApexSystem.cs.

◆ ModuleName

string PixoVR.Apex.ApexSystem.ModuleName
staticgetset

Definition at line 45 of file ApexSystem.cs.

◆ ModuleVersion

string PixoVR.Apex.ApexSystem.ModuleVersion
staticgetset

Definition at line 51 of file ApexSystem.cs.

◆ OptionalData

string PixoVR.Apex.ApexSystem.OptionalData
staticgetset

Definition at line 102 of file ApexSystem.cs.

◆ PassedLoginToken

string PixoVR.Apex.ApexSystem.PassedLoginToken
staticgetprotected set

Definition at line 87 of file ApexSystem.cs.

◆ RunSetupOnAwake

bool PixoVR.Apex.ApexSystem.RunSetupOnAwake
staticgetset

Definition at line 69 of file ApexSystem.cs.

◆ ScenarioID

string PixoVR.Apex.ApexSystem.ScenarioID
staticgetset

Definition at line 57 of file ApexSystem.cs.

◆ ServerIP

string PixoVR.Apex.ApexSystem.ServerIP
staticgetset

Definition at line 33 of file ApexSystem.cs.

◆ TargetType

string PixoVR.Apex.ApexSystem.TargetType
staticgetprivate set

Definition at line 133 of file ApexSystem.cs.


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