Agora RTC Objective-C API Reference Refactor

Properties
AgoraMusicContentCenterConfig Class Reference

Inherits <NSObject>.

## Properties
AgoraRtcEngineKit *_Nullable | rtcEngine
NSString * | appId
NSString * | token
NSInteger | mccUid
NSUInteger | maxCacheSize
NSString * | mccDomain
id< AgoraMusicContentCenterEventDelegate > | eventDelegate

## Property Documentation

## ◆ rtcEngine

- (AgoraRtcEngineKit* _Nullable) rtcEngine
| read write nonatomic assign

`AgoraRtcEngineKit` instance.

## ◆ appId

- (NSString*) appId
| read write nonatomic copy

The App ID of the project with content center enabled.

## ◆ token

- (NSString*) token
| read write nonatomic copy

The RTM Token used for authentication when using the music content center.

Note
  - Agora recommends that you use AccessToken2 for authentication. See `Deploy Token Server` for details. When generating the Token, pass the `String` type `mccUid` to the `uid` parameter.
  - When your Token is about to expire, you can call `renewToken:` to pass in a new Token.

## ◆ mccUid

- (NSInteger) mccUid
| read write nonatomic assign

Uses the user ID for the music content center. This ID can be the same as the `uid` you use to join an RTC channel, but it cannot be 0.

## ◆ maxCacheSize

- (NSUInteger) maxCacheSize
| read write nonatomic assign

The number of cacheable music resources must not exceed 50.

## ◆ mccDomain

- (NSString*) mccDomain
| read write nonatomic copy

@technical preview

## ◆ eventDelegate

- (id<AgoraMusicContentCenterEventDelegate>) eventDelegate
| read write nonatomic weak

Event handler to get callback result.