Astra Unity 2.6.6
Astra Unity Plugin
Astra.Catalog.SearchCatalogJob Class Reference

Job to search the catalog for a set of assets More...

Inheritance diagram for Astra.Catalog.SearchCatalogJob:

Public Member Functions

override CatalogError GetError ()
 When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override. More...
 
override List< CatalogEntryGetResult ()
 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< List< CatalogEntry >, CatalogError >
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 to search the catalog for a set of assets

Member Function Documentation

◆ GetError()

override CatalogError Astra.Catalog.SearchCatalogJob.GetError ( )
inlinevirtual

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

Returns
Yields the error result data

Implements Astra.ApiJobWithResult< List< CatalogEntry >, CatalogError >.

◆ GetResult()

override List< CatalogEntry > Astra.Catalog.SearchCatalogJob.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< List< CatalogEntry >, CatalogError >.


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