ESTSettingIBeaconNonStrictMode

@interface ESTSettingIBeaconNonStrictMode : ESTSettingReadWrite <NSCopying>

ESTSettingIBeaconNonStrictMode represents iBeacon NonStrictMode value.

  • Designated initializer. Validates provided value internally with +validationErrorForValue:.

    See

    +[ESTSettingIBeaconNonStrictMode validationErrorForValue:]

    Declaration

    Objective-C

    - (nonnull instancetype)initWithValue:(BOOL)nonStrictMode;

    Swift

    init(value nonStrictMode: Bool)

    Parameters

    nonStrictMode

    iBeacon NonStrictMode value.

    Return Value

    Initialized object. Nil if validation fails.

  • Returns current value of iBeacon NonStrictMode setting.

    Declaration

    Objective-C

    - (BOOL)getValue;

    Swift

    func getValue() -> Bool

    Return Value

    iBeacon NonStrictMode value.

  • Method allows to read value of initialized iBeacon NonStrictMode setting object.

    Declaration

    Objective-C

    - (void)readValueWithCompletion:
        (nonnull ESTSettingIBeaconNonStrictModeCompletionBlock)completion;

    Swift

    func readValue(completion: @escaping ESTSettingIBeaconNonStrictModeCompletionBlock)

    Parameters

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.

  • Method allows to create write operation from already initialized iBeacon NonStrictMode setting object. Value provided during initialization will be used as a desired value.

    Declaration

    Objective-C

    - (void)writeValue:(BOOL)nonStrictMode
            completion:
                (nonnull ESTSettingIBeaconNonStrictModeCompletionBlock)completion;

    Swift

    func writeValue(_ nonStrictMode: Bool, completion: @escaping ESTSettingIBeaconNonStrictModeCompletionBlock)

    Parameters

    nonStrictMode

    NonStrictMode value to be written to the device.

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.