muzei-api / com.google.android.apps.muzei.api.provider / MuzeiArtProvider / onCommand
onCommand(artwork: Artwork, id: Int): Unit
Deprecated: Provide your own PendingIntent for each RemoteActionCompat returned by getCommandActions(). This method will still be called on devices that have an older version of Muzei installed if you continue to override getCommands().
Callback method indicating that the user has selected a command returned by
artwork - The artwork at the time when this command was triggered.
id - the ID of the command the user has chosen.