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