CMAltimeter
E494401
CMAltimeter is an iOS Core Motion class that provides access to barometric altimeter data, allowing apps to track relative altitude changes using the device’s pressure sensor.
Statements (40)
| Predicate | Object |
|---|---|
| instanceOf |
Core Motion class
ⓘ
barometric altimeter API ⓘ iOS framework class ⓘ |
| category |
motion data API
ⓘ
sensors API ⓘ |
| conformsTo | NSObject NERFINISHED ⓘ |
| dataUnit |
kilopascals for pressure
ⓘ
meters for relative altitude ⓘ |
| developedBy | Apple Inc. NERFINISHED ⓘ |
| documentationURL | https://developer.apple.com/documentation/coremotion/cmaltimeter ⓘ |
| frameworkImport | import CoreMotion ⓘ |
| hasMethod |
authorizationStatus()
ⓘ
isRelativeAltitudeAvailable() ⓘ startRelativeAltitudeUpdates(to:withHandler:) ⓘ stopRelativeAltitudeUpdates() ⓘ |
| hasProperty | isRelativeAltitudeAvailable ⓘ |
| introducedIn |
iOS 8
NERFINISHED
ⓘ
watchOS 2 NERFINISHED ⓘ |
| languageSupport |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| partOf | Core Motion framework NERFINISHED ⓘ |
| platform |
iOS
ⓘ
watchOS NERFINISHED ⓘ |
| provides |
barometric altimeter data
ⓘ
pressure data ⓘ relative altitude data ⓘ |
| requires |
barometer-capable device
ⓘ
user motion & fitness authorization ⓘ |
| returnsDataType | CMAltitudeData ⓘ |
| securityDomain | Health and motion data privacy ⓘ |
| supportsFeature |
background altimeter updates
ⓘ
continuous altitude updates ⓘ relative altitude tracking ⓘ |
| threadingModel | delivers updates on specified OperationQueue ⓘ |
| usedFor |
altitude-based game mechanics
ⓘ
fitness tracking apps ⓘ hiking and elevation tracking apps ⓘ stair climbing detection ⓘ |
| usesSensor |
barometer
ⓘ
pressure sensor ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.