FileSaveRequest

class FileSaveRequest(context: ComponentActivity) : Closeable

Shared storage intent request

Manages Android activity/intent required to save a message buffer to shared storage. This class must be initialized in ComponentActivity.onCreate, then can be used to save message buffers (IMessageBufferReader) received from IRemoteSupportClient.onNotification, IRemoteSupportClient.onCommand, and IRemoteSupportClient.onQuery.

Constructors

Link copied to clipboard
fun FileSaveRequest(context: ComponentActivity)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
suspend fun saveToFile(    title: String,     type: String,     data: IMessageBufferReader)

Save the message buffer to Android shared storage