Astra Unity 2.6.6
Astra Unity Plugin
Astra.RestoreSessionJob Class Reference

Job used when restoring a user session More...

Inheritance diagram for Astra.RestoreSessionJob:

Public Member Functions

override string GetError ()
 Message shared if there was an error More...
 
override RestoreSessionResult GetResult ()
 When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override. More...
 
- Public Member Functions inherited from Astra.ApiJobWithResult< RestoreSessionResult, string >
IEnumerator AsCoroutine (Action< float > progress=null, Action< T1 > onComplete=null, Action< T2 > onFailed=null)
 Wraps a job to be used within a coroutine More...
 

Detailed Description

Job used when restoring a user session

Member Function Documentation

◆ GetError()

override string Astra.RestoreSessionJob.GetError ( )
inlinevirtual

Message shared if there was an error

Implements Astra.ApiJobWithResult< RestoreSessionResult, string >.

◆ GetResult()

override RestoreSessionResult Astra.RestoreSessionJob.GetResult ( )
inlinevirtual

When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override.

Returns
Yields the success result data

Implements Astra.ApiJobWithResult< RestoreSessionResult, string >.


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