SwiftstructSiriUtilities

struct SiriUtilities.Restrictions

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 7

  1. fieldlet deviceRestrictions: SiriUtilities.DeviceRestrictions+0x8
  2. fieldlet restrictedCommands: Set<String>+0x0
  3. funcisRestricted(String) -> Bool
  4. initinit(deviceRestrictions: SiriUtilities.DeviceRestrictions) -> SiriUtilities.Restrictions
  5. initinit(restrictedCommands: Set<String>) -> SiriUtilities.Restrictions
  6. initinit(aceValue: String) -> SiriUtilities.Restrictions
  7. initinit(aceValue: [String]) -> SiriUtilities.Restrictions
struct Restrictions {
    let restrictedCommands: Swift.Set<Swift.String>
    let deviceRestrictions: SiriUtilities.DeviceRestrictions

    init(deviceRestrictions: SiriUtilities.DeviceRestrictions)
    init(restrictedCommands: Swift.Set<Swift.String>)
    init(aceValue: Swift.String)
    init(aceValue: [Swift.String])

    func isRestricted(_: Swift.String) -> Swift.Bool
}