<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVKit",
  "identifier" : "/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVKit"
    ],
    "preciseIdentifier" : "c:objc(cs)AVPlaybackUserInterfacePlaybackPosition"
  },
  "title" : "AVPlaybackUserInterfacePlaybackPosition"
}
-->

# AVPlaybackUserInterfacePlaybackPosition

A snapshot comprising a playback position recorded at a known host time and the rate of position
advancement.

```
class AVPlaybackUserInterfacePlaybackPosition
```

## Overview

All three fields must be captured atomically by the conformer.

## Topics

### Initializers

[`init?(coder: NSCoder)`](/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition/init(coder:))

[`init(position: CMTime, hostTime: CMTime, rate: Float)`](/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition/init(position:hostTime:rate:))

Creates a new playback position snapshot.

### Instance Properties

[`var hostTime: CMTime`](/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition/hostTime)

The mach host time at which `position` was accurate.

[`var position: CMTime`](/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition/position)

The playback position at the time of the snapshot.

[`var rate: Float`](/documentation/AVKit/AVPlaybackUserInterfacePlaybackPosition/rate)

The rate of position advancement at the time of the snapshot. Zero when paused; negative during reverse scan.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSCopying`](/documentation/Foundation/NSCopying)

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)