---
title: "playbackStyle(_:)"
framework: photosui
role: symbol
role_heading: Type Method
path: "photosui/phpickerfilter-swift.struct/playbackstyle(_:)"
---

# playbackStyle(_:)

Creates a new filter by using the playback style you specify.

## Declaration

```swift
static func playbackStyle(_ playbackStyle: PHAsset.PlaybackStyle) -> PHPickerFilter
```

## Parameters

- `playbackStyle`: The asset playback style.

## Return Value

Return Value A new filter with the playback style you specify.

## See Also

### Creating Filters

- [all(of:)](photosui/phpickerfilter-swift.struct/all(of:).md)
- [not(_:)](photosui/phpickerfilter-swift.struct/not(_:).md)
