IBarometer Interface
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.
Monitor changes to the atmospheric pressure.
public interface class IBarometer
public interface IBarometer
type IBarometer = interface
Public Interface IBarometer
Properties
IsMonitoring |
Gets a value indicating whether the barometer is actively being monitored. |
IsSupported |
Gets a value indicating whether reading the barometer is supported on this device. |
Methods
Start(SensorSpeed) |
Start monitoring for changes to the barometer. |
Stop() |
Stop monitoring for changes to the barometer. |
Events
ReadingChanged |
Occurs when the barometer reading changes. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.