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