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
bulkUpdater
Bulk updater that passes the status change information.
updateStatus
New update status of a device.
deviceIdentifier
Identifier 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
bulkUpdater
Bulk 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
bulkUpdater
Bulk updater that failed to process all
updateConfigurations
.error
Error 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)