Contents

SetValueIntent

An intent that contains a value which can be set.

Declaration

protocol SetValueIntent<ValueType> : AppIntent

Overview

struct ToggleSilentMode: SetValueIntent {
   static var title = LocalizedStringResource("Silent Mode")

   @Parameter(title: "Silent")
   var value: Bool
}

Topics

Associated Types

Instance Properties

See Also

Specialized actions