apple_bundle/entitlements/
home_automation.rs

1use serde::{Deserialize, Serialize};
2
3/// Home Automation
4#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq)]
5pub struct HomeAutomation {
6    /// A Boolean value that indicates whether users of the app may manage
7    /// HomeKit-compatible accessories.
8    ///
9    /// This key Indicates whether the users of an app may manage HomeKit-compatible
10    /// accessories,such as switches, lights, fans, locks, and thermostats.
11    ///
12    /// To add this entitlement to your app, enable the HomeKit capability in Xcode. For
13    /// more information, see Enabling HomeKit in Your App.
14    ///
15    /// ## Availability
16    /// * iOS 8.0+
17    /// * tvOS 10.0+
18    /// * watchOS 2.0+
19    ///
20    /// ## Framework
21    /// * HomeKit
22    #[serde(
23        rename = "com.apple.developer.homekit",
24        serialize_with = "crate::serialize_option",
25        skip_serializing_if = "Option::is_none"
26    )]
27    pub homekit: Option<bool>,
28}