Contents

edit(_:name:description:authorDisplayName:)

Edits a playlist that your app has created.

Declaration

@discardableResult func edit(_ playlist: Playlist, name: String? = nil, description: String? = nil, authorDisplayName: String? = nil) async throws -> Playlist

Return Value

The edited playlist.

Discussion

This function will throw an error if your app attempts to edit a playlist that another app created.