---
title: labeledMedia()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mlhandposeclassifier/datasource/labeledmedia()
---

# labeledMedia()

Generates a dictionary that contains the data source’s classification labels paired with an array of URLs to the label’s image files.

## Declaration

```swift
func labeledMedia() throws -> [String : [URL]]
```

## See Also

### Exporting a data source

- [imagesWithAnnotations()](createml/mlhandposeclassifier/datasource/imageswithannotations().md)
- [keypointsWithAnnotations()](createml/mlhandposeclassifier/datasource/keypointswithannotations().md)
- [stratifiedSplit(proportions:seed:labelColumn:)](createml/mlhandposeclassifier/datasource/stratifiedsplit(proportions:seed:labelcolumn:).md)
