1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | #import <Foundation/Foundation.h>
|
9 |
|
10 | #import <React/RCTBridge.h>
|
11 | #import <React/RCTBridgeModule.h>
|
12 |
|
13 | extern NSString *const RCTAccessibilityManagerDidUpdateMultiplierNotification;
|
14 |
|
15 | @interface RCTAccessibilityManager : NSObject <RCTBridgeModule>
|
16 |
|
17 | @property (nonatomic, readonly) CGFloat multiplier;
|
18 |
|
19 |
|
20 | @property (nonatomic, copy) NSDictionary<NSString *, NSNumber *> *multipliers;
|
21 |
|
22 | @property (nonatomic, assign) BOOL isBoldTextEnabled;
|
23 | @property (nonatomic, assign) BOOL isGrayscaleEnabled;
|
24 | @property (nonatomic, assign) BOOL isInvertColorsEnabled;
|
25 | @property (nonatomic, assign) BOOL isReduceMotionEnabled;
|
26 | @property (nonatomic, assign) BOOL isReduceTransparencyEnabled;
|
27 | @property (nonatomic, assign) BOOL isVoiceOverEnabled;
|
28 |
|
29 | @end
|
30 |
|
31 | @interface RCTBridge (RCTAccessibilityManager)
|
32 |
|
33 | @property (nonatomic, readonly) RCTAccessibilityManager *accessibilityManager;
|
34 |
|
35 | @end
|