ESTSettingSensorsTemperature

@interface ESTSettingSensorsTemperature : ESTSettingReadOnly <NSCopying>

ESTSettingSensorsTemperature represents Sensors Temperature value.

  • Designated initializer.

    Declaration

    Objective-C

    - (nonnull instancetype)initWithValue:(float)temperature;

    Swift

    init(value temperature: Float)

    Parameters

    temperature

    Sensors Temperature value.

    Return Value

    Initialized object.

  • Returns current value of Sensors Temperature setting in Celsius degree.

    Declaration

    Objective-C

    - (float)getValue;

    Swift

    func getValue() -> Float

    Return Value

    Sensors Temperature value.

  • Returns current value of Sensors Temperature setting in Fahrenheit degree.

    Declaration

    Objective-C

    - (float)getValueInFahrenheit;

    Swift

    func getValueInFahrenheit() -> Float

    Return Value

    Sensors Temperature value.

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

    Declaration

    Objective-C

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

    Swift

    func readValue(completion: @escaping ESTSettingSensorsTemperatureCompletionBlock)

    Parameters

    completion

    Block to be invoked when the operation is complete.

    Return Value

    Initialized operation object.