UnityEventInteractor

class UnityEventInteractor(onSpecificEventListeners: List<EventInteractor.SpecificEventListener>) : EventInteractor

Constructors

Link copied to clipboard
fun UnityEventInteractor(onSpecificEventListeners: List<EventInteractor.SpecificEventListener>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun startEventListening()

Starts listening to events.

Link copied to clipboard
open override fun stopEventListening()

Stops listening to events.

Properties

Link copied to clipboard
open override var onEndpointError: Consumer<EndpointErrorEvent>? = null

Called if there is any error while interacting with remote server.

Link copied to clipboard
open override var onSceneStateChanged: Consumer<SceneState>? = null

Called when a new event is received.

Link copied to clipboard
open override var onUnexpectedSslCertFingerprint: Consumer<UnexpectedSslCertFingerprintEvent>? = null

Called if the fingerprint of SSL Certificate on the server mismatches the one assigned in sslCertFingerprint.

Link copied to clipboard
open override val publicOnSpecificEventListener: EventInteractor.SpecificEventListener

Specific event listeners received from the user