ESTSettingSensorsPressure

@interface ESTSettingSensorsPressure : ESTSettingReadOnly <NSCopying>

ESTSettingSensorsPressure represents Sensors Pressure value.

  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithValue:(NSUInteger)pressure;

    Swift

    init(value pressure: UInt)

    Parameters

    pressure

    Sensors Pressure value.

    Return Value

    Initialized object.

  • Returns current value of Sensors Pressure setting.

    Declaration

    Objective-C

    - (NSUInteger)getValue;

    Swift

    func getValue() -> UInt

    Return Value

    Sensors Pressure value.

  • Method allows to read value of initialized Sensors Pressure setting object.

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingSensorsPressureCompletionBlock)

    Parameters

    completion

    Block to be invoked when the operation is complete.