---
title: mediaObjects
framework: medialibrary
role: symbol
role_heading: Instance Property
path: medialibrary/mlmediagroup/mediaobjects
---

# mediaObjects

A list of media objects in the media group.

## Declaration

```swift
var mediaObjects: [MLMediaObject]? { get }
```

## Discussion

Discussion This accessor property is nonblocking. If there is no data yet, it returns nil and automatically triggers an internal asynchronous request. A KVO notification will be sent via the main thread when data arrives.

## See Also

### Accessing the Group Hierarchy

- [parent](medialibrary/mlmediagroup/parent.md)
- [childGroups](medialibrary/mlmediagroup/childgroups.md)
