ScreenSharingSession

This interface represents a running Screen Sharing aka Remote Control session.

Properties

Link copied to clipboard
abstract val fileBoxItems: List<FileBoxItem?>?
Link copied to clipboard
Link copied to clipboard
abstract val logger: Logger?
Link copied to clipboard
abstract val sessionId: Int

Functions

Link copied to clipboard
abstract fun addFileBoxCallback(callback: FileBoxCallback?)

Register a FileBoxCallback instance that receives file box callbacks.

Link copied to clipboard
Link copied to clipboard
abstract fun disconnect()

Disconnects this session and goes offline. This will also trigger a call to SessionCallback.onSessionEnded at some point.

Must be called from the main thread.

Link copied to clipboard
abstract fun enableMicrophone(enable: Boolean)
Link copied to clipboard
Link copied to clipboard
abstract fun removeFileBoxCallback(callback: FileBoxCallback?)

Unregister a FileBoxCallback previously registered with .addFileBoxCallback. It will not receive any further callbacks.

Link copied to clipboard
Link copied to clipboard
abstract fun shareFiles(vararg files: Uri)

Share files with the remote supporter. This action is asynchronous.

Must be called from the main thread.