Package-level declarations

Types

Link copied to clipboard
data class Attachment(var filename: String, var mimetype: String, var location: String, var hash: String, var size: ULong)
Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object FfiConverterTypeRemoteSettings : FfiConverter<RemoteSettings, <Error class: unknown class>>
Link copied to clipboard
object FfiConverterTypeRsJsonObject : FfiConverter<<Error class: unknown class>, RustBuffer.ByValue>
Link copied to clipboard
Link copied to clipboard
open class ForeignBytes
Link copied to clipboard
Link copied to clipboard
object NoPointer

Used to instantiate an interface without an actual pointer, for fakes in tests, mostly.

Link copied to clipboard
data class RemoteSettingsConfig(var collectionName: String, var bucketName: String? = null, var serverUrl: String? = null, var server: RemoteSettingsServer? = null)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class RemoteSettingsRecord(var id: String, var lastModified: ULong, var deleted: Boolean, var attachment: Attachment?, var fields: <Error class: unknown class>)
Link copied to clipboard
data class RemoteSettingsResponse(var records: List<RemoteSettingsRecord>, var lastModified: ULong)
Link copied to clipboard
Link copied to clipboard
typealias RsJsonObject = <Error class: unknown class>

Typealias from the type name used in the UDL file to the custom type. This is needed because the UDL type name is used in function/method signatures. It's also what we have an external type that references a custom type.

Link copied to clipboard
open class RustBuffer
Link copied to clipboard

The equivalent of the *mut RustBuffer type. Required for callbacks taking in an out pointer.

Link copied to clipboard
interface UniffiCleaner

Functions

Link copied to clipboard
inline fun <T : Disposable?, R> T.use(block: (T) -> R): R