prepareEntry

expect fun prepareEntry(inboxId: String, data: ByteArray, inboxFileHandles: List<Long> = emptyList(), userPrivKey: String? = null): Long?

Prepares a request to send data to an Inbox. You do not have to be logged in to call this function.

Return

Inbox handle

Parameters

inboxId

ID of the Inbox to which the request applies

data

entry data to send

inboxFileHandles

optional list of file handles that will be sent with the request

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual fun prepareEntry(inboxId: String, data: ByteArray, inboxFileHandles: List<Long>, userPrivKey: String?): Long?

Prepares a request to send data to an Inbox. You do not have to be logged in to call this function.

Return

Inbox handle

Parameters

inboxId

ID of the Inbox to which the request applies

data

entry data to send

inboxFileHandles

optional list of file handles that will be sent with the request

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual external fun prepareEntry(inboxId: String, data: ByteArray, inboxFileHandles: List<Long>, userPrivKey: String?): Long?

Prepares a request to send data to an Inbox. You do not have to be logged in to call this function.

Return

Inbox handle

Parameters

inboxId

ID of the Inbox to which the request applies

data

entry data to send

inboxFileHandles

optional list of file handles that will be sent with the request

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed