Connection

altspace/utilities/sync~ Connection

new Connection()

Members

app :Firebase

A Firebase reference for the app. This can be used for things like persistent high-scores, dynamic configuration, or inter-instance communication.

instance :Firebase

A Firebase reference to the current instance of the app. This will change if the query paramater is removed through navigation, rebeaming, the space timing out, or other reasons. This can be used as an input to SceneSync

space :Firebase

(In-client only) A Firebase reference for the current space. Especially useful if multiple apps / instances need to communicate inside the space.

user :Firebase

(In-client only) A Firebase reference for the current user (on a per app basis). This can be used for things like a persistent inventory or personal highscores.