ESTSettingIBeaconSecureUUIDPeriodScaler

@interface ESTSettingIBeaconSecureUUIDPeriodScaler
    : ESTSettingReadWrite <NSCopying>

ESTSettingIBeaconSecureUUIDPeriodScaler represents iBeacon SecureUUIDPeriodScaler value.

  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithValue:(uint8_t)scaler;

    Swift

    init(value scaler: UInt8)

    Parameters

    scaler

    iBeacon SecureUUIDPeriodScaler value. The Secure UUID rotation period is equal to 2^scaler seconds.

    Return Value

    Initialized object.

  • Returns current value of iBeacon SecureUUIDPeriodScaler setting.

    Declaration

    Objective-C

    - (uint8_t)getValue;

    Swift

    func getValue() -> UInt8

    Return Value

    iBeacon SecureUUIDPeriodScaler value.

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

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingIBeaconSecureUUIDPeriodScalerCompletionBlock)

    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 SecureUUIDPeriodScaler setting object. Value provided during initialization will be used as a desired value. The Secure UUID rotation period is equal to 2^scaler seconds.

    Declaration

    Objective-C

    - (void)writeValue:(uint8_t)scaler
            completion:
                (nonnull ESTSettingIBeaconSecureUUIDPeriodScalerCompletionBlock)
                    completion;

    Swift

    func writeValue(_ scaler: UInt8, completion: @escaping ESTSettingIBeaconSecureUUIDPeriodScalerCompletionBlock)

    Parameters

    scaler

    SecureUUIDPeriodScaler value to be written to the device.

    completion

    Block to be invoked when operation is complete.

    Return Value

    Initialized operation object.