stop(_:)
Creates a command that stops media playback.
Declaration
static func stop(_ action: @escaping () async throws -> Void) -> MediaCommandParameters
- action:
The closure the system calls to stop playback.
Creates a command that stops media playback.
static func stop(_ action: @escaping () async throws -> Void) -> MediaCommandThe closure the system calls to stop playback.