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, int userId)
 
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

HttpResponseMessage HandleException (Exception exception)
 

Detailed Description

Definition at line 30 of file PlatformAPIHandler.cs.

Constructor & Destructor Documentation

◆ APIHandler() [1/2]

PixoVR.Apex.APIHandler.APIHandler ( )
inline

Definition at line 47 of file PlatformAPIHandler.cs.

◆ APIHandler() [2/2]

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

Definition at line 51 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 327 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ GenerateAssistedLogin()

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

Definition at line 147 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 279 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 367 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 209 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 227 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ HandleException()

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

Definition at line 60 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 253 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 187 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 167 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ Ping()

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

Definition at line 129 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 305 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 347 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SetEndpoint()

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

Definition at line 68 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SetPlatformEndpoint()

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

Definition at line 109 of file PlatformAPIHandler.cs.

Here is the caller graph for this function:

◆ SetWebEndpoint()

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

Definition at line 89 of file PlatformAPIHandler.cs.

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 36 of file PlatformAPIHandler.cs.

◆ OnAPIResponse

APIResponse PixoVR.Apex.APIHandler.OnAPIResponse

Definition at line 33 of file PlatformAPIHandler.cs.

◆ URL

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

Definition at line 35 of file PlatformAPIHandler.cs.

◆ webHandlingClient

HttpClient PixoVR.Apex.APIHandler.webHandlingClient = null
protected

Definition at line 40 of file PlatformAPIHandler.cs.

◆ webURL

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

Definition at line 39 of file PlatformAPIHandler.cs.


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