Documentation for the Unity C# Library
Loading...
Searching...
No Matches
PixoVR.Apex.APIHandler Class Reference

Classes

class  GenerateAuthCodeInput
 

Public Member Functions

 APIHandler ()
 
 APIHandler (string endpointUrl)
 
delegate void APIResponse (ResponseType type, HttpResponseMessage message, object responseData)
 
async void CompleteSession (string authToken, CompleteSessionData completionData)
 
async void GenerateAssistedLogin (string authToken, int userId, Action< HttpResponseMessage, object > success, Action< HttpResponseMessage, FailureResponse > failure)
 
async void GetModuleAccess (int moduleId, int userId, string serialNumber)
 
async void GetModuleList (string authToken, string platform)
 
async void GetQuickIDAuthenticationUsers (string serialNumber)
 
async void GetUserData (string authToken, int userId)
 
async void GetUserMetricsForOrg (string authToken, int orgID, int page)
 
async void GetUserModules (string authToken, int userId)
 
async void JoinSession (string authToken, JoinSessionData joinData)
 
async void Login (LoginData login)
 
async void LoginWithToken (string token)
 
async void Ping ()
 
async void QuickIDLogin (QuickIDLoginData login)
 
async void SendHeartbeat (string authToken, int sessionId)
 
async void SendSessionEvent (string authToken, SessionEventData sessionEvent)
 
void SetEndpoint (string endpointUrl)
 
void SetPlatformEndpoint (string endpointUrl)
 

Public Attributes

APIResponse OnAPIResponse
 

Protected Attributes

HttpClient apiHandlingClient = null
 
string apiURL = ""
 
HttpClient handlingClient = null
 
string URL = ""
 

Private Member Functions

void EnsureURLHasProtocol (ref string url)
 
FailureResponse GetGQLFailureResponse (JObject jsonResponse, string jsonDataObjectKey)
 
HttpResponseMessage HandleException (Exception exception)
 

Detailed Description

Definition at line 33 of file PlatformAPIHandler.cs.

Constructor & Destructor Documentation

◆ APIHandler() [1/2]

PixoVR.Apex.APIHandler.APIHandler ( )
inline

Definition at line 46 of file PlatformAPIHandler.cs.

◆ APIHandler() [2/2]

PixoVR.Apex.APIHandler.APIHandler ( string endpointUrl)
inline

Definition at line 49 of file PlatformAPIHandler.cs.

Here is the call graph for this function:

Member Function Documentation

◆ APIResponse()

delegate void PixoVR.Apex.APIHandler.APIResponse ( ResponseType type,
HttpResponseMessage message,
object responseData )

◆ CompleteSession()

async void PixoVR.Apex.APIHandler.CompleteSession ( string authToken,
CompleteSessionData completionData )
inline

Definition at line 479 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ EnsureURLHasProtocol()

void PixoVR.Apex.APIHandler.EnsureURLHasProtocol ( ref string url)
inlineprivate

Definition at line 82 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GenerateAssistedLogin()

async void PixoVR.Apex.APIHandler.GenerateAssistedLogin ( string authToken,
int userId,
Action< HttpResponseMessage, object > success,
Action< HttpResponseMessage, FailureResponse > failure )
inline

Definition at line 124 of file PlatformAPIHandler.cs.

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

◆ GetGQLFailureResponse()

FailureResponse PixoVR.Apex.APIHandler.GetGQLFailureResponse ( JObject jsonResponse,
string jsonDataObjectKey )
inlineprivate

Definition at line 564 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GetModuleAccess()

async void PixoVR.Apex.APIHandler.GetModuleAccess ( int moduleId,
int userId,
string serialNumber )
inline

Definition at line 422 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GetModuleList()

async void PixoVR.Apex.APIHandler.GetModuleList ( string authToken,
string platform )
inline

Definition at line 519 of file PlatformAPIHandler.cs.

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

◆ GetQuickIDAuthenticationUsers()

async void PixoVR.Apex.APIHandler.GetQuickIDAuthenticationUsers ( string serialNumber)
inline

Definition at line 332 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GetUserData()

async void PixoVR.Apex.APIHandler.GetUserData ( string authToken,
int userId )
inline

Definition at line 288 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GetUserMetricsForOrg()

async void PixoVR.Apex.APIHandler.GetUserMetricsForOrg ( string authToken,
int orgID,
int page )
inline

Definition at line 200 of file PlatformAPIHandler.cs.

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

◆ GetUserModules()

async void PixoVR.Apex.APIHandler.GetUserModules ( string authToken,
int userId )
inline

Definition at line 306 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ HandleException()

HttpResponseMessage PixoVR.Apex.APIHandler.HandleException ( Exception exception)
inlineprivate

Definition at line 57 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ JoinSession()

async void PixoVR.Apex.APIHandler.JoinSession ( string authToken,
JoinSessionData joinData )
inline

Definition at line 396 of file PlatformAPIHandler.cs.

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

◆ Login()

async void PixoVR.Apex.APIHandler.Login ( LoginData login)
inline

Definition at line 266 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ LoginWithToken()

async void PixoVR.Apex.APIHandler.LoginWithToken ( string token)
inline

Definition at line 243 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ Ping()

async void PixoVR.Apex.APIHandler.Ping ( )
inline

Definition at line 101 of file PlatformAPIHandler.cs.

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

◆ QuickIDLogin()

async void PixoVR.Apex.APIHandler.QuickIDLogin ( QuickIDLoginData login)
inline

Definition at line 351 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SendHeartbeat()

async void PixoVR.Apex.APIHandler.SendHeartbeat ( string authToken,
int sessionId )
inline

Definition at line 454 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SendSessionEvent()

async void PixoVR.Apex.APIHandler.SendSessionEvent ( string authToken,
SessionEventData sessionEvent )
inline

Definition at line 499 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SetEndpoint()

void PixoVR.Apex.APIHandler.SetEndpoint ( string endpointUrl)
inline

Definition at line 65 of file PlatformAPIHandler.cs.

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

◆ SetPlatformEndpoint()

void PixoVR.Apex.APIHandler.SetPlatformEndpoint ( string endpointUrl)
inline

Definition at line 74 of file PlatformAPIHandler.cs.

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

Member Data Documentation

◆ apiHandlingClient

HttpClient PixoVR.Apex.APIHandler.apiHandlingClient = null
protected

Definition at line 44 of file PlatformAPIHandler.cs.

◆ apiURL

string PixoVR.Apex.APIHandler.apiURL = ""
protected

Definition at line 43 of file PlatformAPIHandler.cs.

◆ handlingClient

HttpClient PixoVR.Apex.APIHandler.handlingClient = null
protected

Definition at line 39 of file PlatformAPIHandler.cs.

◆ OnAPIResponse

APIResponse PixoVR.Apex.APIHandler.OnAPIResponse

Definition at line 36 of file PlatformAPIHandler.cs.

◆ URL

string PixoVR.Apex.APIHandler.URL = ""
protected

Definition at line 38 of file PlatformAPIHandler.cs.


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