SaltoUpdateDelegate
public protocol SaltoUpdateDelegate : AnyObject
A delegate for implementing a handler of Salto updates
-
Function called when new Salto Key updates are received. Also called when delegate is first added with the list of Salto Key Identifiers stored on the phone.
Declaration
Swift
func onSaltoKeyUpdated(_ addedOrUpdatedSaltoKeyIdentifiers: [SaltoKeyIdentifier], _ removedSaltoKeyIdentifiers: [SaltoKeyIdentifier])
Parameters
addedOrUpdatedSaltoKeyIdentifiers
list of added or updated Salto Key Identifiers.
removedSaltoKeyIdentifiers
list of removed Salto Key Identifiers.