Agora RTC Objective-C API Reference Refactor

Properties
AgoraMusic Class Reference

Inherits <NSObject>.

## Properties
NSInteger | songCode
NSInteger | type
NSInteger | pitchType
NSString * | name
NSString * | singer
NSString * | poster
NSString * | releaseTime
NSInteger | durationS
NSArray< NSNumber * > * | lyricList
NSArray< AgoraMvProperty * > * | mvPropertyList
NSArray< AgoraClimaxSegment * > * | climaxSegmentList

## Detailed Description

The music info

## Property Documentation

## ◆ songCode

- (NSInteger) songCode
| read write nonatomic assign

The songCode of music

## ◆ type

- (NSInteger) type
| read write nonatomic assign

The type of music 1, mp3 with instrumental accompaniment and original 2, mp3 only with instrumental accompaniment 3, mp3 only with original 4, mp4 with instrumental accompaniment and original 5, mv only 6, new type mp4 with instrumental accompaniment and original detail at document of music media center

## ◆ pitchType

- (NSInteger) pitchType
| read write nonatomic assign

The pitch type of music. 1, xml lyric has pitch 2, lyric has no pitch

## ◆ name

- (NSString*) name
| read write nonatomic copy

The name of music

## ◆ singer

- (NSString*) singer
| read write nonatomic copy

The singer of music

## ◆ poster

- (NSString*) poster
| read write nonatomic copy

The poster url of music

## ◆ releaseTime

- (NSString*) releaseTime
| read write nonatomic copy

The release time of music

## ◆ durationS

- (NSInteger) durationS
| read write nonatomic assign

The duration (in seconds) of music

## ◆ lyricList

- (NSArray<NSNumber *>*) lyricList
| read write nonatomic strong

The lyric list of music 0, xml 1, lrc

## ◆ mvPropertyList

- (NSArray<AgoraMvProperty *>*) mvPropertyList
| read write nonatomic strong

The mv property list of music

## ◆ climaxSegmentList

- (NSArray<AgoraClimaxSegment *>*) climaxSegmentList
| read write nonatomic strong

The climax segment list of music