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
| readwritenonatomicassign

The songCode of music

## ◆ type

- (NSInteger) type
| readwritenonatomicassign

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
| readwritenonatomicassign

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

## ◆ name

- (NSString*) name
| readwritenonatomiccopy

The name of music

## ◆ singer

- (NSString*) singer
| readwritenonatomiccopy

The singer of music

## ◆ poster

- (NSString*) poster
| readwritenonatomiccopy

The poster url of music

## ◆ releaseTime

- (NSString*) releaseTime
| readwritenonatomiccopy

The release time of music

## ◆ durationS

- (NSInteger) durationS
| readwritenonatomicassign

The duration (in seconds) of music

## ◆ lyricList

- (NSArray<NSNumber *>*) lyricList
| readwritenonatomicstrong

The lyric list of music 0, xml 1, lrc

## ◆ mvPropertyList

- (NSArray<AgoraMvProperty *>*) mvPropertyList
| readwritenonatomicstrong

The mv property list of music

## ◆ climaxSegmentList

- (NSArray<AgoraClimaxSegment *>*) climaxSegmentList
| readwritenonatomicstrong

The climax segment list of music