NIMMSTAIntentServiceConnection

This class provides access to the NIMMSTAManager and initiates the connection. It uses an Android ServiceConnection and the concept of background Tasks. Just register the NIMMSTAIntentServiceConnection by calling bindServiceToActivity and register for completion for the binding with onComplete.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val serviceConnectedDeferred: <Error class: unknown class>

this deferred object is used to inform the activity that this connection has bound to the NIMMSTA Service

Functions

Link copied to clipboard
fun close()

close the service.

Link copied to clipboard
open override fun onBindingDied(name: ComponentName?)
Link copied to clipboard

Lambda is called once service was connected or thrown an error. Returns ServiceConnection.

Link copied to clipboard
open override fun onNullBinding(name: ComponentName?)
Link copied to clipboard
open override fun onServiceConnected(p0: ComponentName?, binder: IBinder?)
Link copied to clipboard
open override fun onServiceDisconnected(p0: ComponentName?)