<!--
{
  "availability" : [
    "iOS: 15.4.0 -",
    "iPadOS: 15.4.0 -",
    "macCatalyst: 15.4.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMotion",
  "identifier" : "/documentation/CoreMotion/CMOdometerOriginDevice",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Motion"
    ],
    "preciseIdentifier" : "c:@E@CMOdometerOriginDevice"
  },
  "title" : "CMOdometerOriginDevice"
}
-->

# CMOdometerOriginDevice

The device that the odometer sample originates from.

```
enum CMOdometerOriginDevice
```

## Topics

### Device origins

[`case unknown`](/documentation/CoreMotion/CMOdometerOriginDevice/unknown)

The origin of the odometer sample is unknown.

[`case local`](/documentation/CoreMotion/CMOdometerOriginDevice/local)

The origin of the odometer sample comes from the same device that requests the sample.

[`case remote`](/documentation/CoreMotion/CMOdometerOriginDevice/remote)

The origin of the odometer sample comes from a device that’s paired with the local device.

### Initializers

[`init?(rawValue: Int)`](/documentation/CoreMotion/CMOdometerOriginDevice/init(rawValue:))

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Sendable`](/documentation/Swift/Sendable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)