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

# labeledMedia()

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

## Declaration

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

## See Also

### Exporting a data source

- [videosWithAnnotations()](createml/mlhandactionclassifier/datasource/videoswithannotations().md)
- [keypointsWithAnnotations(targetFrameRate:)](createml/mlhandactionclassifier/datasource/keypointswithannotations(targetframerate:).md)
- [stratifiedSplit(proportions:seed:labelColumn:)](createml/mlhandactionclassifier/datasource/stratifiedsplit(proportions:seed:labelcolumn:).md)
- [extractKeypoints(targetFrameRate:)](createml/mlhandactionclassifier/datasource/extractkeypoints(targetframerate:).md)
- [gatherAnnotatedFileNames()](createml/mlhandactionclassifier/datasource/gatherannotatedfilenames().md)
