Instance Method

onPlayPauseCommand(perform:)

Adds an action to perform in response to the system’s Play/Pause command.

Declaration

func onPlayPauseCommand(perform action: (() -> Void)?) -> some View