ESTLocationBeaconBulkUpdateConfiguration
@interface ESTLocationBeaconBulkUpdateConfiguration : NSObject
Class used by bulk updater to store a device identifier together with an array of settings operations that should be performed on that device after discovery and connection.
-
Identifier of a device that should be discovered and updated.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull deviceIdentifier;
Swift
var deviceIdentifier: String { get }
-
Array of
ESTSettingOperation
objects that should be performed on that device.Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<ESTSettingOperation *> *_Nonnull settingsOperations;
Swift
var settingsOperations: [ESTSettingOperation] { get }
-
Flag indicating firmware updated is available.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readonly) BOOL firmwareUpdateAvailable;
Swift
var firmwareUpdateAvailable: Bool { get }
-
Date when update configuration object was initialized.
Declaration
Objective-C
@property (nonatomic, strong, readwrite) NSDate *_Nonnull createdAt;
Swift
var createdAt: Date { get set }
-
Date when the device was last detected.
Declaration
Objective-C
@property (nonatomic, strong, readwrite) NSDate *_Nonnull lastDetectedAt;
Swift
var lastDetectedAt: Date { get set }
-
Method allows to initialize ESTLocationBeaconBulkUpdateConfiguration object.
Declaration
Objective-C
- (nonnull instancetype) initWithDeviceIdentifier:(nonnull NSString *)deviceIdentifier settingsOperations: (nonnull NSArray<ESTSettingOperation *> *)settingsOperations firmwareUpdateAvailable:(BOOL)firmwareUpdateAvailable;
Swift
init(deviceIdentifier: String, settingsOperations: [ESTSettingOperation], firmwareUpdateAvailable: Bool)
Parameters
deviceIdentifier
Identifier of the device.
settingsOperations
Array of operations to perform.
firmwareUpdateAvailable
Flag indicating firmware update is available.
Return Value
Initialized object.