# AgoraMusicCollection (/zh-CN/api-reference/rtc/ios/class-musiccollection)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```objc
__attribute__((visibility("default"))) @interface AgoraMusicCollection : NSObject
@property(nonatomic, assign) NSInteger count;
@property(nonatomic, assign) NSInteger total;
@property(nonatomic, assign) NSInteger page;
@property(nonatomic, assign) NSInteger pageSize;
@property(nonatomic, strong) NSArray* musicList;
@end
```
用于描述当前请求中的音乐资源列表信息,包括资源数量、分页信息和当前页的音乐资源详情。
## 属性 [#属性]
当前请求中音乐资源列表的音乐项数量。
音乐资源列表中的音乐资源总数。
当前页码,默认从 1 开始。
当前音乐资源列表的总页数。最大值为 50。
当前页音乐资源的详细信息,详见 [AgoraMusic](/zh-CN/api-reference/rtc/ios/class-music)。