enabled(_:)
Sets the enabled state for this command.
Declaration
func enabled(_ isEnabled: Bool) -> MediaCommandParameters
- isEnabled:
If
true, the command is enabled; iffalse, the command is disabled.
Sets the enabled state for this command.
func enabled(_ isEnabled: Bool) -> MediaCommandIf true, the command is enabled; if false, the command is disabled.