ESTSettingEddystoneURLEnable

@interface ESTSettingEddystoneURLEnable : ESTSettingReadWrite <NSCopying>

ESTSettingEddystoneURLEnable represents Eddystone URL Enable value.

  • Designated initializer.

    Declaration

    Objective-C

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

    Swift

    init(value enabled: Bool)

    Parameters

    enabled

    Eddystone URL Enable value.

    Return Value

    Initialized object.

  • Returns current value of Eddystone URL Enable setting.

    Declaration

    Objective-C

    - (BOOL)getValue;

    Swift

    func getValue() -> Bool

    Return Value

    Eddystone URL Enable value.

  • Method allows to read value of initialized Eddystone URL Enable setting object.

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingEddystoneURLEnableCompletionBlock)

    Parameters

    completion

    Block to be invoked when operation is complete.

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

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    enabled

    Enable value to be written to the device.

    completion

    Block to be invoked when operation is complete.