---
title: "init(position:hostTime:rate:)"
framework: AVKit
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+]
path: "avkit/avplaybackuserinterfaceplaybackposition/init(position:hosttime:rate:)"
---

# init(position:hostTime:rate:)

Creates a new playback position snapshot.

## Declaration

```swift
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

Return Value A new playback position snapshot.
