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