InboxFileStream

abstract class InboxFileStream(val fileHandle: Long, val inboxApi: InboxApi)

Base class for Inbox file streams.

Inheritors

Constructors

Link copied to clipboard
protected constructor(fileHandle: Long, inboxApi: InboxApi)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Reference to file handle.

Link copied to clipboard
Link copied to clipboard

Returns information whether the instance is closed.

Link copied to clipboard

Gets size of sent data.

Functions

Link copied to clipboard
protected fun callChunkProcessed(chunkSize: Long)

Increases the size of current sent/read data by chunkSize and calls StoreFileStream.ProgressListener.onChunkProcessed.

Link copied to clipboard
fun close(): String

Closes file handle.

Link copied to clipboard

Sets listening for single chunk sent/read.