Constructors

Link copied to clipboard
constructor(pointer: <Error class: unknown class>)
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 override fun getUuid(template: String): String?

Generates an optional UUID to be passed into the string_format method. If the return is not null, then it should be recorded with Glean as a UuidMetricType.

Link copied to clipboard
open override fun stringFormat(template: String, uuid: String?): String

Take the given template and find patterns that match the regular expression {\w+}. Any matches are used as keys into the application context, the additional_context or the special case uuid.

Link copied to clipboard
fun uniffiClonePointer(): <Error class: unknown class>