CPNowPlayingAddToLibraryButton
A button for adding the current playing item to a collection.
Declaration
@MainActor class CPNowPlayingAddToLibraryButtonOverview
CPNowPlayingAddToLibraryButton is a concrete subclass of CPNowPlayingButton. Use this button to allow a user to add the current playing item to a collection, such as their library. You implement this functionality in the button’s handler, or use the handler to invoke existing code that performs this function.