AddressesBridgedEngineProtocol
public protocol AddressesBridgedEngineProtocol : AnyObject, Sendable
The bridged sync engine for addresses. The canonical docs are in services/interfaces/mozIBridgedSyncEngine.idl. 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: [String]) 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