# publish property Null safety

bool publish
read / write

【字段含义】是否将音乐传到远端 【推荐取值】YES：音乐在本地播放的同时，会上行至云端，因此远端用户也能听到该音乐；NO：音乐不会上行至云端，因此只能在本地听到该音乐。默认值：NO

## Implementation

    bool publish;

1. tencent_trtc_cloud_beauty
2. trtc_cloud_def
3. AudioMusicParam
4. publish property

##### AudioMusicParam class

1. Constructors
2. AudioMusicParam
3. Properties
4. endTimeMS
5. hashCode
6. id
7. isShortFile
8. loopCount
9. path
10. publish
11. runtimeType
12. startTimeMS
13. Methods
14. noSuchMethod
15. toJson
16. toString
17. Operators
18. operator ==