Contents

enabled(_:)

Sets the enabled state for this command.

Declaration

func enabled(_ isEnabled: Bool) -> MediaCommand

Parameters

  • isEnabled:

    If true, the command is enabled; if false, the command is disabled.

Mentioned in

See Also

Creating commands