Package-level declarations

Types

Link copied to clipboard
data class ClientRemoteTabs(var clientId: String, var clientName: String, var deviceType: DeviceType, var lastModified: Long, var remoteTabs: List<RemoteTabRecord>)
Link copied to clipboard
interface Disposable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object FfiConverterTypeRemoteCommandStore : FfiConverter<RemoteCommandStore, <Error class: unknown class>>
Link copied to clipboard
object FfiConverterTypeTabsBridgedEngine : FfiConverter<TabsBridgedEngine, <Error class: unknown class>>
Link copied to clipboard
object FfiConverterTypeTabsStore : FfiConverter<TabsStore, <Error class: unknown class>>
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 PendingCommand(var deviceId: String, var command: RemoteCommand, var timeRequested: Timestamp, var timeSent: Timestamp?)

Represents a "pending" command.

Link copied to clipboard
sealed class RemoteCommand

A command which should be sent to a remote device.

Link copied to clipboard
Link copied to clipboard
data class RemoteTabRecord(var title: String, var urlHistory: List<String>, var icon: String?, var lastUsed: Long, var inactive: Boolean = false)
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
Link copied to clipboard

Note the canonical docs for this are in https://searchfox.org/mozilla-central/source/services/interfaces/mozIBridgedSyncEngine.idl It's only actually used in desktop, but it's fine to expose this everywhere. NOTE: all timestamps here are milliseconds.

Link copied to clipboard

Note the canonical docs for this are in https://searchfox.org/mozilla-central/source/services/interfaces/mozIBridgedSyncEngine.idl It's only actually used in desktop, but it's fine to expose this everywhere. NOTE: all timestamps here are milliseconds.

Link copied to clipboard
typealias TabsGuid = String

Typealias from the type name used in the UDL file to the builtin 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
Link copied to clipboard
Link copied to clipboard
typealias Timestamp = Long

Typealias from the type name used in the UDL file to the builtin 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
interface UniffiCleaner

Functions

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