---
title: type
framework: nowplaying
role: symbol
role_heading: Instance Property
path: nowplaying/mediacontentrepresentable/type
---

# type

The media type (audio or video).

## Declaration

```swift
var type: MediaType { get }
```
