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