Auki::ConjureKit::Manna::StaticLighthouseManager
Public Functions
Name | |
---|---|
StaticLighthouseManager(IDomainSdk conjureKit) | |
void | RetrieveStaticLighthouseSize(string staticLighthouseId, Action< float > onSuccess, Action< string > onFailure) |
void | RetrieveStaticLighthouse(string staticLighthouseId, Action< StaticLighthouse > onSuccess, Action< string > onFailure) |
void | RetrieveDomainsByLighthouse(string staticLighthouseId, Action< IReadOnlyDictionary< string, DomainAssociation > > onSuccess, Action< string > onFailure) |
void | RetrieveDomainPoses(string staticLighthouseId, Action< StaticLighthouseData > onSuccess, Action< string > onFailure) This function will fail whenever the network callback fails (i.e. lighthouse does not exist). If no pose was available, it will be still considered a success and 0 poses will be returned. |
bool | IsStaticLighthouse(string qrData) |
string | ExtractStaticLighthouseId(string qrData) |
Public Functions Documentation
function StaticLighthouseManager
StaticLighthouseManager(
IDomainSdk conjureKit
)
function RetrieveStaticLighthouseSize
void RetrieveStaticLighthouseSize(
string staticLighthouseId,
Action< float > onSuccess,
Action< string > onFailure
)
function RetrieveStaticLighthouse
void RetrieveStaticLighthouse(
string staticLighthouseId,
Action< StaticLighthouse > onSuccess,
Action< string > onFailure
)
function RetrieveDomainsByLighthouse
void RetrieveDomainsByLighthouse(
string staticLighthouseId,
Action< IReadOnlyDictionary< string, DomainAssociation > > onSuccess,
Action< string > onFailure
)
function RetrieveDomainPoses
void RetrieveDomainPoses(
string staticLighthouseId,
Action< StaticLighthouseData > onSuccess,
Action< string > onFailure
)
This function will fail whenever the network callback fails (i.e. lighthouse does not exist). If no pose was available, it will be still considered a success and 0 poses will be returned.
Parameters:
- staticLighthouseId Id of the lighthouse.
- onSuccess Returns the poses available.
- onFailure Returns any error preventing the poses to be returned.
function IsStaticLighthouse
static bool IsStaticLighthouse(
string qrData
)
function ExtractStaticLighthouseId
static string ExtractStaticLighthouseId(
string qrData
)