File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 33namespace CandyCoded . UnityIOSBridge
44{
55
6- public static class IOSBridge
6+ public static class Accessibility
77 {
88
9- [ DllImport ( "__Internal" ) ]
10- public static extern bool IOSPermissionCameraOK ( ) ;
11-
12- [ DllImport ( "__Internal" ) ]
13- public static extern bool IOSIsLowPowerModeEnabled ( ) ;
14-
159 [ DllImport ( "__Internal" ) ]
1610 public static extern bool IOSUIAccessibilityIsAssistiveTouchRunning ( ) ;
1711
@@ -57,6 +51,22 @@ public static class IOSBridge
5751 [ DllImport ( "__Internal" ) ]
5852 public static extern bool IOSUIAccessibilityIsSpeakSelectionEnabled ( ) ;
5953
54+ }
55+
56+ public static class Permission
57+ {
58+
59+ [ DllImport ( "__Internal" ) ]
60+ public static extern bool IOSPermissionCameraOK ( ) ;
61+
62+ }
63+
64+ public static class Settings
65+ {
66+
67+ [ DllImport ( "__Internal" ) ]
68+ public static extern bool IOSIsLowPowerModeEnabled ( ) ;
69+
6070 [ DllImport ( "__Internal" ) ]
6171 public static extern bool IOSUIImpactFeedbackGenerator ( string style = "medium" ) ;
6272
You can’t perform that action at this time.
0 commit comments