subscribeToEvents

abstract fun subscribeToEvents(events: List<SubscriptionEvent>)

Subscribe to receive callbacks when a SubscriptionEvent is fulfilled. Parameter events: A list of SubscriptionEvent which describes a particular event within the SpaceKit SDK to monitor for.