IRemoteSupportClientJava

interface IRemoteSupportClientJava : Closeable

Java interop methods for com.cygnusreach.IRemoteSupportClient

Functions

Link copied to clipboard
abstract fun addScreenSharingAsync(configuration: ScreenFormat): Future<Boolean>

Share the app screen with the remote peer. Only one screen sharing session may be active

Link copied to clipboard
abstract fun addVideoStreamAsync(videoStreamConfiguration: CameraFormat): Future<Boolean>

Add a video stream to the remote support session. The stream must be added before the session is started.

Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract fun connectToSupportSessionAsync(pin: String): Future<Unit>

Wrapper functions for use in the Java Implementation. Connects to an existing remote support session with the given pin

Link copied to clipboard
abstract fun initiateSupportSessionAsync(): Future<String?>

Wrapper functions for use in the Java Implementation. Initiates a new remote support session and returns the pin

Link copied to clipboard
abstract fun sendCommandAsync(cmd: Command): Future<JavaCommandReceipt>

Wrapper functions for use in the Java Implementation. Adds the given Command to the outgoing message queue.

Link copied to clipboard
abstract fun sendNotificationAsync(notif: Notification): Future<Unit>

Wrapper functions for use in the Java Implementation. Adds the given Notification to the outgoing message queue.

Link copied to clipboard
abstract fun sendQueryAsync(query: Query): Future<JavaQueryReceipt>

Wrapper functions for use in the Java Implementation. Adds the given Query to the outgoing message queue.

Link copied to clipboard
abstract fun setOnCommandHandler(handler: ICommandReceivedEventHandler)

Handle incoming command events

Link copied to clipboard
abstract fun setOnConnectFromHandler(handler: IConnectEventHandler)

Handle connect events

Link copied to clipboard
abstract fun setOnDisconnectFromHandler(handler: IDisconnectEventHandler)

Handle disconnect events

Link copied to clipboard
abstract fun setOnLocalMediaStream(handler: ILocalMediaStreamEventHandler<JavaCameraStreamController>)

Handle media stream creation events

Link copied to clipboard
abstract fun setOnNotificationHandler(handler: INotificationReceivedEventHandler)

Handle incoming notification events

Link copied to clipboard
abstract fun setOnQueryHandler(handler: IQueryReceivedEventHandler)

Handle incoming query events

Link copied to clipboard
abstract fun setOnScreenCapture(handler: ILocalMediaStreamEventHandler<JavaScreenCaptureController>)

Handle screen capture events

Properties

Link copied to clipboard
abstract val clientConnectionState: RemoteSupportClientConnectionState

Client connection state