ESTSettingEstimoteLocationEnable

@interface ESTSettingEstimoteLocationEnable : ESTSettingReadWrite <NSCopying>

ESTSettingEstimoteLocationEnable represents Estimote Location Enable value.

  • Designated initializer.

    Declaration

    Objective-C

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

    Swift

    init(value enabled: Bool)

    Parameters

    enabled

    Estimote Location Enable value.

    Return Value

    Initialized object.

  • Returns current value of Estimote Location Enable setting.

    Declaration

    Objective-C

    - (BOOL)getValue;

    Swift

    func getValue() -> Bool

    Return Value

    Estimote Location Enable value.

  • Method allows to read value of initialized Estimote Location Enable setting object.

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingEstimoteLocationEnableCompletionBlock)

    Parameters

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.

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

    Declaration

    Objective-C

    - (void)writeValue:(BOOL)enabled
            completion:
                (nonnull ESTSettingEstimoteLocationEnableCompletionBlock)completion;

    Swift

    func writeValue(_ enabled: Bool, completion: @escaping ESTSettingEstimoteLocationEnableCompletionBlock)

    Parameters

    enabled

    Enable value to be written to the device.

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.