AhtBase.GetHumidity Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current relative humidity reading from the sensor. Reading the humidity takes between 10 ms and 80 ms.
public UnitsNet.Ratio GetHumidity ();
public UnitsNet.RelativeHumidity GetHumidity ();
[System.Device.Model.Telemetry("Humidity", null)]
public UnitsNet.RelativeHumidity GetHumidity ();
member this.GetHumidity : unit -> UnitsNet.Ratio
member this.GetHumidity : unit -> UnitsNet.RelativeHumidity
[<System.Device.Model.Telemetry("Humidity", null)>]
member this.GetHumidity : unit -> UnitsNet.RelativeHumidity
Public Function GetHumidity () As Ratio
Public Function GetHumidity () As RelativeHumidity
Returns
UnitsNet.Ratio
UnitsNet.RelativeHumidity
Relative humidity reading
- Attributes