apple_bundle/entitlements/siri.rs
1use serde::{Deserialize, Serialize};
2
3/// Siri
4#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq)]
5pub struct Siri {
6 /// A Boolean value that indicates whether the app handles Siri requests.
7 ///
8 /// The App Store requires the presence of this entitlement for iOS or watchOS apps
9 /// containing Intents app extensions that handle any Siri requests other than
10 /// shortcut requests. To add the entitlement to your app, enable the Siri
11 /// capability in Xcode.
12 ///
13 /// ## Availability
14 /// * iOS 10.0+
15 /// * watchOS 3.2+
16 ///
17 /// ## Framework
18 /// * Intents
19 #[serde(
20 rename = "com.apple.developer.siri",
21 serialize_with = "crate::serialize_option",
22 skip_serializing_if = "Option::is_none"
23 )]
24 pub siri: Option<bool>,
25}