ESTSettingShakeToConnectEnable

@interface ESTSettingShakeToConnectEnable : ESTSettingReadWrite <NSCopying>

ESTSettingShakeToConnectEnable represents Connectivity ShakeToConnectEnable value.

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

    Declaration

    Objective-C

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

    Swift

    init(value shakeToConnectEnable: Bool)

    Parameters

    shakeToConnectEnable

    Connectivity ShakeToConnectEnable value.

    Return Value

    Initialized object.

  • Returns current value of Connectivity ShakeToConnectEnable setting.

    Declaration

    Objective-C

    - (BOOL)getValue;

    Swift

    func getValue() -> Bool

    Return Value

    shakeToConnect ShakeToConnectEnable value.

  • Method allows to read value of initialized Connectivity ShakeToConnectEnable setting object.

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingShakeToConnectEnableCompletionBlock)

    Parameters

    completion

    Block to be invoked when operation is complete.

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

    Declaration

    Objective-C

    - (void)writeValue:(BOOL)shakeToConnectEnable
            completion:
                (nonnull ESTSettingShakeToConnectEnableCompletionBlock)completion;

    Swift

    func writeValue(_ shakeToConnectEnable: Bool, completion: @escaping ESTSettingShakeToConnectEnableCompletionBlock)

    Parameters

    shakeToConnectEnable

    ShakeToConnectEnable value to be written to the device.

    completion

    Block to be invoked when operation is complete.