---
title: CMAltitudeData
framework: coremotion
role: symbol
role_heading: Class
path: coremotion/cmaltitudedata
---

# CMAltitudeData

Data for a recorded change in altitude.

## Declaration

```swift
class CMAltitudeData
```

## Overview

Overview You do not create instances of this class directly. When you want to receive altimeter changes, create an instance of the CMAltimeter class and use that object to query for events or to start the delivery of events. The altimeter object creates new instances of this class at appropriate times and delivers them to the handler you specify.

## Topics

### Getting the Altitude Data

- [relativeAltitude](coremotion/cmaltitudedata/relativealtitude.md)
- [pressure](coremotion/cmaltitudedata/pressure.md)

## Relationships

### Inherits From

- [CMLogItem](coremotion/cmlogitem.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSSecureCoding](foundation/nssecurecoding.md)

## See Also

### Altitude data

- [CMAltimeter](coremotion/cmaltimeter.md)
- [CMAbsoluteAltitudeData](coremotion/cmabsolutealtitudedata.md)
