-
Notifications
You must be signed in to change notification settings - Fork 516
Accessibility iOS xcode16.2 b3
Rolf Bjarne Kvinge edited this page Nov 22, 2024
·
3 revisions
#Accessibility.framework https://github.com/xamarin/xamarin-macios/pull/21686
diff -ruN /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFeatureOverrideSessionManager.h /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFeatureOverrideSessionManager.h
--- /Applications/Xcode_16.2.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFeatureOverrideSessionManager.h 2024-10-26 19:11:12
+++ /Applications/Xcode_16.2.0-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXFeatureOverrideSessionManager.h 2024-11-11 08:51:57
@@ -24,23 +24,31 @@
AXFeatureOverrideSessionOptionsZoom = 1 << 4
} NS_SWIFT_NAME(AXFeatureOverrideSession.Options);
+static NSErrorDomain const AXFeatureOverrideSessionErrorDomain = @"AXFeatureOverrideSessionErrorDomain";
+typedef NS_ERROR_ENUM(AXFeatureOverrideSessionErrorDomain, AXFeatureOverrideSessionError) {
+ AXFeatureOverrideSessionErrorUndefined = 0,
+ AXFeatureOverrideSessionErrorAppNotEntitled,
+ AXFeatureOverrideSessionErrorOverrideIsAlreadyActive,
+ AXFeatureOverrideSessionErrorOverrideNotFoundForUUID,
+};
+
/// A token object that represents an override session held by your app.
+AX_EXTERN API_AVAILABLE(ios(18.2))
@interface AXFeatureOverrideSession : NSObject
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
@end
-/// A manager class to begin and end accessibility feature override sessions. Multiple override sessions are reconciled by combining the requests, preferring feature enablement. Ending all sessions restores the prior state of Accessibility feature enablement. Your app must be entitled with com.apple.developer.accessibility.merchant.api.control.
+/// A manager class to begin and end accessibility feature override sessions. Multiple override sessions are reconciled by combining the requests, preferring feature enablement. Ending all sessions restores the prior state of Accessibility feature enablement. Your app must be entitled with com.apple.developer.accessibility.merchant-api-control.
AX_EXTERN API_AVAILABLE(ios(18.2))
@interface AXFeatureOverrideSessionManager : NSObject
-
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
@property (class, readonly) AXFeatureOverrideSessionManager *sharedInstance;
-- (AXFeatureOverrideSession *)beginOverrideSessionEnablingOptions:(AXFeatureOverrideSessionOptions)enableOptions disablingOptions:(AXFeatureOverrideSessionOptions)disableOptions NS_SWIFT_NAME(beginOverrideSession(enabling:disabling:));
-- (void)endOverrideSession:(AXFeatureOverrideSession *)session;
+- (nullable AXFeatureOverrideSession *)beginOverrideSessionEnablingOptions:(AXFeatureOverrideSessionOptions)enableOptions disablingOptions:(AXFeatureOverrideSessionOptions)disableOptions error:(NSError * _Nullable *)error NS_SWIFT_NAME(beginOverrideSession(enabling:disabling:));
+- (BOOL)endOverrideSession:(AXFeatureOverrideSession *)session error:(NSError * _Nullable *)error;
@end
NS_ASSUME_NONNULL_END
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status