requestSong abstract method

  1. @Deprecated('Deprecated since 3.0.2, please use the [requestResource] function instead.')
Future<ZegoCopyrightedMusicRequestSongResult> requestSong(
  1. ZegoCopyrightedMusicRequestConfig config
)

Deprecated Request a song. Deprecated since 3.0.2, please use the requestResource function instead.

Available since: 2.13.0 Description: By requesting a song, you can not only obtain basic information about a song (such as duration, song name, and artist), but also obtain the resource ID for local playback, share_token for sharing with others, and related authentication information. Support by the time, by the user monthly, by the room monthly subscription three ways. Use case: Get copyrighted songs for local playback and sharing. When to call: After initializing the copyrighted music success initCopyrightedMusic. Caution: This interface will trigger billing. A song may have three sound qualities: normal, high-definition, and lossless. Each sound quality has a different resource file, and each resource file has a unique resource ID.

@deprecated Deprecated since 3.0.2, please use the requestResource function instead.

  • config request configuration.

Implementation

@Deprecated(
    'Deprecated since 3.0.2, please use the [requestResource] function instead.')
Future<ZegoCopyrightedMusicRequestSongResult> requestSong(
    ZegoCopyrightedMusicRequestConfig config);