ClientId

A unique identifier for an MLS client.

Each app instance a user is running, such as desktop or mobile, is a separate client with its own client id. A single user may therefore have multiple clients. More information: https://messaginglayersecurity.rocks/mls-architecture/draft-ietf-mls-architecture.html#name-group-members-and-clients

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.

constructor(bytes: ByteArray)

Instantiate a client id from a byte array.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun copyBytes(): ByteArray

Copy the id into a new byte array.

Link copied to clipboard
open override fun destroy()
Link copied to clipboard
fun uniffiClonePointer(): Pointer