BaseSOCommOutsideAPI

The base SDK interface to connect & communicate with a remote device. This is a base interface for SOCommOutsideAPI and SOCommOutsideWifiOnlyAPI, which combines all shared method signatures.

Please refer to the documentation of the respective sub-interfaces on how to create an instance of the interface.

Also, the description / documentation of the methods can be found in the sub-interfaces respectively.

See also

Inheritors

Properties

Link copied to clipboard
@get:CheckReturnValue
abstract val availableContexts: Observable<Set<SOContext>>
Link copied to clipboard
@get:CheckReturnValue
abstract val connectionState: Observable<SOCommOutsideAPI.ConnectionState>
Link copied to clipboard
@get:CheckReturnValue
abstract val contextsInUse: Observable<Set<SOContext>>
Link copied to clipboard
abstract val fileApi: SOCommFileApi

Functions

Link copied to clipboard
@CheckReturnValue
abstract fun disconnect(): Completable
Link copied to clipboard
@CheckReturnValue
abstract fun getClientIdentifier(): Maybe<ClientIdentifier>
Link copied to clipboard
@CheckReturnValue
abstract fun getWifiCredentials(): Maybe<WifiCredentials>
Link copied to clipboard
@CheckReturnValue
abstract fun <T> publishTopic(topic: TopicIn<T>, value: T): Completable
Link copied to clipboard
@CheckReturnValue
abstract fun registerDynamicContext(dynamicContext: SOContext): Completable
Link copied to clipboard
@CheckReturnValue
abstract fun release(context: SOContext): Completable
Link copied to clipboard
@CheckReturnValue
abstract fun <T> subscribeTopic(topic: TopicOut<T>): Observable<T>
Link copied to clipboard
@CheckReturnValue
abstract fun use(context: SOContext): Completable