Skip to main content

Auki::ConjureKit::ConjureKitConfiguration

A class that retrieves and stores ConjureKit configuration data used by ConjureKit.Init().

Public Classes

Name
structconjurekit_configuration

Public Functions

Name
voidTryGet(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.
voidTryGet(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.
ConjureKitConfigurationGet(string configUri =DefaultConfigUri)
Synchronous ConjureKit configuration download. (Deprecated.)

Public Attributes

Name
const stringDefaultConfigUri
Default ConjureKit configuration URL.
readonly stringHdsUri
Hagall discovery service URI.
readonly stringEventUri
Event logging service URI.
readonly stringApiUri
API URI.
readonly stringCatalogUri
Asset catalog URI.
readonly stringParticipantAssetId
Participant asset id.
readonly stringMetricUri
Metric reporting URI..
readonly Dictionary< string, float[]>DeviceOffsets

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..

variable DeviceOffsets

readonly Dictionary< string, float[]> DeviceOffsets;