Auki::ConjureKit::ConjureKitConfiguration
A class that retrieves and stores ConjureKit configuration data used by ConjureKit.Init().
Public Functions
Name | |
---|---|
void | TryGet(Action< ConjureKitConfiguration > onComplete, Action< string > onFailed) Asynchronous download of a configuration file from the default ConjureKit hardcoded URL (a.k.a., ConjureKitConfiguration.DefaultConfigUri), and manufacture of a ConjureKitConfiguration object from the downloaded JSON. |
void | TryGet(string configUri, Action< ConjureKitConfiguration > onComplete, Action< string > onFailed) Asynchronous download of a configuration file from a specified URL and manufacture of a ConjureKitConfiguration object from the downloaded JSON. |
ConjureKitConfiguration | Get(string configUri =DefaultConfigUri) Synchronous ConjureKit configuration download. (Deprecated.) |
Public Attributes
Name | |
---|---|
const string | DefaultConfigUri Default ConjureKit configuration URL. |
readonly string | HdsUri Hagall discovery service URI. |
readonly string | EventUri Event logging service URI. |
readonly string | ApiUri API URI. |
readonly string | CatalogUri Asset catalog URI. |
readonly string | ParticipantAssetId Participant asset id. |
readonly string | MetricUri Metric reporting URI.. |
Public Functions Documentation
function TryGet
static void TryGet(
Action< ConjureKitConfiguration > onComplete,
Action< string > onFailed
)
Asynchronous download of a configuration file from the default ConjureKit hardcoded URL (a.k.a., ConjureKitConfiguration.DefaultConfigUri), and manufacture of a ConjureKitConfiguration object from the downloaded JSON.
Parameters:
- onComplete Callback on success
- onFailed Callback on error
function TryGet
static void TryGet(
string configUri,
Action< ConjureKitConfiguration > onComplete,
Action< string > onFailed
)
Asynchronous download of a configuration file from a specified URL and manufacture of a ConjureKitConfiguration object from the downloaded JSON.
Parameters:
- configUri Endpoint for the HTTP.GET request
- onComplete Callback on success
- onFailed Callback on error
function Get
static ConjureKitConfiguration Get(
string configUri =DefaultConfigUri
)
Synchronous ConjureKit configuration download. (Deprecated.)
Parameters:
- configUri URI of configuration file
Return: ConjureKitConfiguration struct
Public Attributes Documentation
variable DefaultConfigUri
static const string DefaultConfigUri = "https://config.aukiverse.com/aukiverse.json";
Default ConjureKit configuration URL.
variable HdsUri
readonly string HdsUri;
Hagall discovery service URI.
variable EventUri
readonly string EventUri;
Event logging service URI.
variable ApiUri
readonly string ApiUri;
API URI.
variable CatalogUri
readonly string CatalogUri;
Asset catalog URI.
variable ParticipantAssetId
readonly string ParticipantAssetId;
Participant asset id.
Used by Odal. This asset will be instantiated for every Participant and will be attached to their Pose.
variable MetricUri
readonly string MetricUri;
Metric reporting URI..