<!--
{
  "availability" : [
    "Xcode: 16.3.0 -",
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 10.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "XCUIAutomation",
  "identifier" : "/documentation/XCUIAutomation/XCUISiriService",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "XCUIAutomation"
    ],
    "preciseIdentifier" : "c:objc(cs)XCUISiriService"
  },
  "title" : "XCUISiriService"
}
-->

# XCUISiriService

A proxy that simulates a device’s Siri interface.

```
@MainActor class XCUISiriService
```

## Overview

This class allows issuing textual queries and producing element queries for UI shown by Siri.

## Topics

### Siri activation

[`-  activateWithVoiceRecognitionText:`](/documentation/XCUIAutomation/XCUISiriService/activate(voiceRecognitionText:))

Presents the Siri UI, if it’s not currently active, and accepts a string that is then processed as if it’s recognized speech.

### Siri proxy state

[`debugDescription`](/documentation/XCUIAutomation/XCUISiriService/debugDescription)

Provides debugging information about the element representing the root of the Siri UI.

## See Also

[`siriService`](/documentation/XCUIAutomation/XCUIDevice/siriService)

An object that represents the Siri interface on the device.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Sendable`](/documentation/Swift/Sendable)

[`XCUIElementTypeQueryProvider`](/documentation/XCUIAutomation/XCUIElementTypeQueryProvider)

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Escapable`](/documentation/Swift/Escapable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)