RemoteSupportServiceConnection

class RemoteSupportServiceConnection

Cygnus Reach remote support foreground service connection allows communication between the foreground service and your application. Call connect to connect to a running instance of the foreground service. Once connected, call getRemoteSupportClient to retrieve the IRemoteSupportClient hosted by the foreground service. To disconnect from the foreground service, call disconnect.

The foreground service can be managed using the static methods on RemoteSupportService.

Constructors

Link copied to clipboard
fun RemoteSupportServiceConnection()

Create empty Remote support service connection

Types

Link copied to clipboard
inner class ServiceConnection : ServiceConnection

Functions

Link copied to clipboard
fun close(context: Context)
Link copied to clipboard
suspend fun connect(context: Context)

Connect to the Cygnus Reach foreground service.

Link copied to clipboard
fun disconnect(context: Context)

Disconnect from the cygnus reach foreground service

Link copied to clipboard
suspend fun getRemoteSupportClient(): IRemoteSupportClient

Gets the remote support client associated with this service

Properties

Link copied to clipboard