ESTLocationBeaconBulkUpdaterDelegate
@protocol ESTLocationBeaconBulkUpdaterDelegate <NSObject>
ESTLocationBeaconBulkUpdaterDelegate protocol defines a list of delegate methods that bulk update will use to inform about its progress.
-
Informs bulkdUpdater delegate that list of devices to update was fetched. List of devices can be accessed through
updateConfigurations.Declaration
Objective-C
- (void)bulkUpdaterDidFetchDevices: (nonnull ESTLocationBeaconBulkUpdater *)bulkUpdater;Swift
optional func bulkUpdaterDidFetchDevices(_ bulkUpdater: ESTLocationBeaconBulkUpdater) -
Informs bulkUpdater delegate about a change of status for certain device.
Declaration
Objective-C
- (void)bulkUpdater:(nonnull ESTLocationBeaconBulkUpdater *)bulkUpdater didUpdateStatus:(ESTBulkUpdaterDeviceUpdateStatus)updateStatus forDeviceWithIdentifier:(nonnull NSString *)deviceIdentifier;Swift
optional func bulkUpdater(_ bulkUpdater: ESTLocationBeaconBulkUpdater, didUpdateStatus updateStatus: ESTBulkUpdaterDeviceUpdateStatus, forDeviceWithIdentifier deviceIdentifier: String)Parameters
bulkUpdaterBulk updater that passes the status change information.
updateStatusNew update status of a device.
deviceIdentifierIdentifier of a device for which the update status was changed.
-
Informs bulkUpdater delegate about successful end of bulk update procedure.
Declaration
Objective-C
- (void)bulkUpdaterDidFinish: (nonnull ESTLocationBeaconBulkUpdater *)bulkUpdater;Swift
optional func bulkUpdaterDidFinish(_ bulkUpdater: ESTLocationBeaconBulkUpdater)Parameters
bulkUpdaterBulk updater that processed all
updateConfigurations. -
Informs bulkUpdater delegate about bulk update failure.
Declaration
Objective-C
- (void)bulkUpdater:(nonnull ESTLocationBeaconBulkUpdater *)bulkUpdater didFailWithError:(nonnull NSError *)error;Swift
optional func bulkUpdater(_ bulkUpdater: ESTLocationBeaconBulkUpdater, didFailWithError error: Error)Parameters
bulkUpdaterBulk updater that failed to process all
updateConfigurations.errorError containing helpful information about the failure.
-
Informs bulkUpdater delegate that caller decided to cancel update.
Declaration
Objective-C
- (void)bulkUpdaterDidCancel: (nonnull ESTLocationBeaconBulkUpdater *)bulkUpdater;Swift
optional func bulkUpdaterDidCancel(_ bulkUpdater: ESTLocationBeaconBulkUpdater)
View on GitHub
ESTLocationBeaconBulkUpdaterDelegate Protocol Reference