onPlayPauseCommand(perform:)
Adds an action to perform in response to the system’s Play/Pause command.
Declaration
nonisolated func onPlayPauseCommand(perform action: (() -> Void)?) -> some View
Adds an action to perform in response to the system’s Play/Pause command.
nonisolated func onPlayPauseCommand(perform action: (() -> Void)?) -> some View