Skip to content

Commit ea54bf4

Browse files
committed
Added categories.
1 parent edb9d8f commit ea54bf4

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

Plugins/iOS/IOSBridge.cs

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,9 @@
33
namespace 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

0 commit comments

Comments
 (0)