---
title: title
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkaudiofileasset/title
---

# title

The title information for the audio file.

## Declaration

```swift
var title: String? { get }
```

## Discussion

Discussion If you do not set the title directly at initialization time, the asset object obtains the information from the audio file’s metadata. If the file does not contain any title metadata, the filename is used for the title.

## See Also

### Getting the Asset’s Properties

- [url](watchkit/wkaudiofileasset/url.md)
- [duration](watchkit/wkaudiofileasset/duration.md)
- [albumTitle](watchkit/wkaudiofileasset/albumtitle.md)
- [artist](watchkit/wkaudiofileasset/artist.md)
