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

# init(position:hostTime:rate:)

Creates a new playback position snapshot.

```
init(position: CMTime, hostTime: CMTime, rate: Float)
```

## Parameters

`position`

The playback position at `hostTime`.

`hostTime`

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

`rate`

The rate of position advancement at the time of the snapshot.

## Return Value

A new playback position snapshot.

---

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)