next(_:)
Creates a command that advances to the next track in the playback queue.
Declaration
static func next(_ action: @escaping () async throws -> Void) -> MediaCommandParameters
- action:
The closure the system calls to advance to the next track.