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

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)
 
async void GetModuleAccess (int moduleId, int userId, string serialNumber)
 
async void GetModuleList (string authToken, string platform)
 
async void GetUserData (string authToken, int userId)
 
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 SendHeartbeat (string authToken, int sessionId)
 
async void SendSessionEvent (string authToken, SessionEventData sessionEvent)
 
void SetEndpoint (string endpointUrl)
 
void SetPlatformEndpoint (string endpointUrl)
 
void SetWebEndpoint (string endpointUrl)
 

Public Attributes

APIResponse OnAPIResponse
 

Protected Attributes

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

Private Member Functions

void EnsureURLHasProtocol (ref string url)
 
HttpResponseMessage HandleException (Exception exception)
 

Detailed Description

Definition at line 29 of file PlatformAPIHandler.cs.

Constructor & Destructor Documentation

◆ APIHandler() [1/2]

PixoVR.Apex.APIHandler.APIHandler ( )
inline

Definition at line 45 of file PlatformAPIHandler.cs.

◆ APIHandler() [2/2]

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

Definition at line 48 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 365 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 90 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GenerateAssistedLogin()

async void PixoVR.Apex.APIHandler.GenerateAssistedLogin ( string authToken)
inline

Definition at line 127 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 309 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 405 of file PlatformAPIHandler.cs.

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

◆ GetUserData()

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

Definition at line 239 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GetUserModules()

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

Definition at line 257 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 283 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 217 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 194 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ Ping()

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

Definition at line 109 of file PlatformAPIHandler.cs.

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

◆ SendHeartbeat()

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

Definition at line 340 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 385 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 82 of file PlatformAPIHandler.cs.

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

◆ SetWebEndpoint()

void PixoVR.Apex.APIHandler.SetWebEndpoint ( 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 43 of file PlatformAPIHandler.cs.

◆ apiURL

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

Definition at line 42 of file PlatformAPIHandler.cs.

◆ handlingClient

HttpClient PixoVR.Apex.APIHandler.handlingClient = null
protected

Definition at line 35 of file PlatformAPIHandler.cs.

◆ OnAPIResponse

APIResponse PixoVR.Apex.APIHandler.OnAPIResponse

Definition at line 32 of file PlatformAPIHandler.cs.

◆ URL

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

Definition at line 34 of file PlatformAPIHandler.cs.

◆ webHandlingClient

HttpClient PixoVR.Apex.APIHandler.webHandlingClient = null
protected

Definition at line 39 of file PlatformAPIHandler.cs.

◆ webURL

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

Definition at line 38 of file PlatformAPIHandler.cs.


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