createPlaylist(name:description:authorDisplayName:)
Creates a playlist in the user’s music library.
Declaration
@discardableResult func createPlaylist(name: String, description: String? = nil, authorDisplayName: String? = nil) async throws -> PlaylistParameters
- name:
The name of the playlist.
- description:
An optional description of the playlist.
- authorDisplayName:
The display name of the author for the playlist. A
nilvalue will result in the framework using your app’s name instead.
Return Value
The newly created playlist.