objc2_watch_kit/generated/
WKAccessibility.rs

1//! This file has been automatically generated by `objc2`'s `header-translator`.
2//! DO NOT EDIT
3use core::ptr::NonNull;
4use objc2::__framework_prelude::*;
5use objc2_foundation::*;
6
7use crate::*;
8
9#[inline]
10pub unsafe extern "C-unwind" fn WKAccessibilityIsVoiceOverRunning() -> bool {
11    extern "C-unwind" {
12        fn WKAccessibilityIsVoiceOverRunning() -> Bool;
13    }
14    unsafe { WKAccessibilityIsVoiceOverRunning() }.as_bool()
15}
16
17extern "C" {
18    /// [Apple's documentation](https://developer.apple.com/documentation/watchkit/wkaccessibilityvoiceoverstatuschanged?language=objc)
19    pub static WKAccessibilityVoiceOverStatusChanged: &'static NSString;
20}
21
22#[inline]
23pub unsafe extern "C-unwind" fn WKAccessibilityIsReduceMotionEnabled() -> bool {
24    extern "C-unwind" {
25        fn WKAccessibilityIsReduceMotionEnabled() -> Bool;
26    }
27    unsafe { WKAccessibilityIsReduceMotionEnabled() }.as_bool()
28}
29
30extern "C" {
31    /// [Apple's documentation](https://developer.apple.com/documentation/watchkit/wkaccessibilityreducemotionstatusdidchangenotification?language=objc)
32    pub static WKAccessibilityReduceMotionStatusDidChangeNotification: &'static NSString;
33}