MlsTransportImpl

Used by core crypto to send commits or application messages to the delivery service. This trait must be implemented before calling any functions that produce commits.

Constructors

Link copied to clipboard
constructor(pointer: Pointer)
constructor(noPointer: NoPointer)

This constructor can be used to instantiate a fake object. Only used for tests. Any attempt to actually use an object constructed this way will fail as there is no connected Rust object.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun destroy()
Link copied to clipboard
open suspend override fun prepareForTransport(historySecret: HistorySecret): MlsTransportData

Prepare a history secret before being sent

Link copied to clipboard
open suspend override fun sendCommitBundle(commitBundle: CommitBundle): MlsTransportResponse

Send a commit bundle to the corresponding endpoint.

Link copied to clipboard
open suspend override fun sendMessage(mlsMessage: ByteArray): MlsTransportResponse

Send a message to the corresponding endpoint.

Link copied to clipboard
fun uniffiClonePointer(): Pointer