registerDynamicContext

@CheckReturnValue
abstract override fun registerDynamicContext(dynamicContext: SOContext): Completable

Registers a new SOContext to the API.

This needs to be called if you define your own, dynamic SOContext, which is not one of the predefined contexts of the SDK.

This needs to be called before establishing a connection to the device, i.e. before calling connect().

Return

a Completable which completes once the registration has been completed, or errors if the context is already present (in a different form, so e.g. with different topics or a different ConnectionType).

Parameters

dynamicContext

The dynamically created SOContext to register in the SDK.