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

# artist

The artist information for the audio file.

## Declaration

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

## Discussion

Discussion If you do not set the artist name directly at initialization time, the asset object obtains the information from the audio file’s metadata.

## See Also

### Getting the Asset’s Properties

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