TabsBridgedEngine
open class TabsBridgedEngine : TabsBridgedEngineProtocol, @unchecked Sendable
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.
-
Declaration
Swift
open func apply() throws -> [String] -
Declaration
Swift
open func ensureCurrentSyncId(newSyncId: String) throws -> String -
Declaration
Swift
open func lastSync() throws -> Int64 -
Declaration
Swift
open func prepareForSync(clientData: String) throws -
Declaration
Swift
open func reset() throws -
Declaration
Swift
open func resetSyncId() throws -> String -
Declaration
Swift
open func setLastSync(lastSync: Int64) throws -
Declaration
Swift
open func setUploaded(newTimestamp: Int64, uploadedIds: [TabsGuid]) throws -
Declaration
Swift
open func storeIncoming(incomingEnvelopesAsJson: [String]) throws -
Declaration
Swift
open func syncFinished() throws -
Declaration
Swift
open func syncId() throws -> String? -
Declaration
Swift
open func syncStarted() throws -
Declaration
Swift
open func wipe() throws