Contents

stop(_:)

Creates a command that stops media playback.

Declaration

static func stop(_ action: @escaping () async throws -> Void) -> MediaCommand

Parameters

  • action:

    The closure the system calls to stop playback.

See Also

Controlling playback