createFileHandle

expect fun createFileHandle(publicMeta: ByteArray, privateMeta: ByteArray, fileSize: Long): Long?

Creates a file handle to send a file to an Inbox. You do not have to be logged in to call this function.

Return

File handle

Parameters

publicMeta

public file's metadata

privateMeta

private file's metadata

fileSize

size of the file to send

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual fun createFileHandle(publicMeta: ByteArray, privateMeta: ByteArray, fileSize: Long): Long?

Creates a file handle to send a file to an Inbox. You do not have to be logged in to call this function.

Return

File handle

Parameters

publicMeta

public file's metadata

privateMeta

private file's metadata

fileSize

size of the file to send

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed

actual external fun createFileHandle(publicMeta: ByteArray, privateMeta: ByteArray, fileSize: Long): Long?

Creates a file handle to send a file to an Inbox. You do not have to be logged in to call this function.

Return

File handle

Parameters

publicMeta

public file's metadata

privateMeta

private file's metadata

fileSize

size of the file to send

Throws

thrown when method encounters an exception

thrown when method encounters an unknown exception

thrown when instance is closed