ESTSettingEddystoneEIDEnable
@interface ESTSettingEddystoneEIDEnable : ESTSettingReadWrite <NSCopying>
ESTSettingEddystoneEIDEnable represents EddystoneEID Enable value.
-
Designated initializer. Validates provided value internally with +validationErrorForValue:.
Declaration
Objective-C
- (nonnull instancetype)initWithValue:(BOOL)enable;
Swift
init(value enable: Bool)
Parameters
enable
EddystoneEID Enable value.
Return Value
Initialized object. Nil if validation fails.
-
Returns current value of EddystoneEID Enable setting.
Declaration
Objective-C
- (BOOL)getValue;
Swift
func getValue() -> Bool
Return Value
EddystoneEID Enable value.
-
Method allows to read value of initialized EddystoneEID Enable setting object.
Declaration
Objective-C
- (void)readValueWithCompletion: (nonnull ESTSettingEddystoneEIDEnableCompletionBlock)completion;
Swift
func readValue(completion: @escaping ESTSettingEddystoneEIDEnableCompletionBlock)
Parameters
completion
Block to be invoked when operation is complete.
-
Method allows to create write operation from already initialized EddystoneEID Enable setting object. Value provided during initialization will be used as a desired value.
Declaration
Objective-C
- (void)writeValue:(BOOL)enable completion: (nonnull ESTSettingEddystoneEIDEnableCompletionBlock)completion;
Swift
func writeValue(_ enable: Bool, completion: @escaping ESTSettingEddystoneEIDEnableCompletionBlock)
Parameters
enable
Enable value to be written to the device.
completion
Block to be invoked when operation is complete.