DeviceId

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(id: ULong)

New device id from an unsigned 64-bit integer.

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 operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toHexString(): String

Encode the DeviceId as a 16-character lowercase hex string, with leading 0s.

Link copied to clipboard
open override fun toU64(): ULong

Get the number corresponding to this DeviceId.

Link copied to clipboard
fun uniffiClonePointer(): Pointer