StreamBytesOptions

data class StreamBytesOptions(val topic: String = "", val attributes: Map<String, String> = emptyMap(), val streamId: String = UUID.randomUUID().toString(), val destinationIdentities: List<Participant.Identity> = emptyList(), val mimeType: String = "application/octet-stream", val name: String, val totalSize: Long? = null)

Constructors

Link copied to clipboard
constructor(topic: String = "", attributes: Map<String, String> = emptyMap(), streamId: String = UUID.randomUUID().toString(), destinationIdentities: List<Participant.Identity> = emptyList(), mimeType: String = "application/octet-stream", name: String, totalSize: Long? = null)

Properties

Link copied to clipboard
Link copied to clipboard

The mime type of the stream data. Defaults to application/octet-stream

Link copied to clipboard

The name of the file being sent.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val totalSize: Long? = null

The total exact size in bytes, if known.