Auki::ConjureKit::ConjureKitConfiguration
A class that retrieves and stores ConjureKit configuration data used by ConjureKit.Init().
Public Classes
Name | |
---|---|
struct | conjurekit_configuration |
Public Functions
Name | |
---|---|
bool | operator==(ConjureKitConfiguration c1, ConjureKitConfiguration c2) |
bool | operator!=(ConjureKitConfiguration c1, ConjureKitConfiguration c2) |
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 | ConfigUri URI used to created the config, if any. |
readonly string | HdsUri Hagall discovery service URI. |
readonly string | HagallMinVersion Hagall server minimum version. |
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.. |
readonly Dictionary< string, float[]> | DeviceOffsets |
Public Functions Documentation
function operator==
static bool operator==(
ConjureKitConfiguration c1,
ConjureKitConfiguration c2
)
function operator!=
static bool operator!=(
ConjureKitConfiguration c1,
ConjureKitConfiguration c2
)
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 ConfigUri
readonly string ConfigUri;
URI used to created the config, if any.
variable HdsUri
readonly string HdsUri;
Hagall discovery service URI.
variable HagallMinVersion
readonly string HagallMinVersion;
Hagall server minimum version.
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..
variable DeviceOffsets
readonly Dictionary< string, float[]> DeviceOffsets;