-
Notifications
You must be signed in to change notification settings - Fork 516
Accessibility tvOS xcode13.2 b2
Alex Soto edited this page Dec 6, 2021
·
3 revisions
#Accessibility.framework https://github.com/xamarin/xamarin-macios/pull/13497
diff -ruN /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleMap.h /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleMap.h
--- /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleMap.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/AXBrailleMap.h 2021-11-11 13:13:43.000000000 -0500
@@ -0,0 +1,51 @@
+//
+// AXBrailleMap.h
+// Accessibility
+//
+// Copyright © 2021 Apple Inc. All rights reserved.
+//
+
+#import <Accessibility/AXFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/* A BrailleMap object represents a connected two-dimensional braille display.
+ A display is comprised of a grid of pins that can be raised and lowered.
+ This is useful for representing graphics, images, and other visual data to VoiceOver users.
+ - Post an accessibility announcement notification with a braille map as an argument to update.-
+ */
+AX_EXTERN API_AVAILABLE(ios(15.2), tvos(15.2), watchos(8.2), macos(12.1))
+@interface AXBrailleMap : NSObject <NSCopying, NSSecureCoding>
+
+// Indicates the number of dots in each dimension. This size may change if the user zooms in the content.
+@property (nonatomic, readonly) CGSize dimensions;
+
+// These methods provide individual access to braille dots.
+// 1 indicates completely raised, 0 completely lowered.
+// The bottom, left is represented by { 0,0 }.
+// The top, right is represented by { dimensions.width - 1, dimensions.height - 1}
+- (void)setHeight:(float)status atPoint:(CGPoint)point;
+- (float)heightAtPoint:(CGPoint)point;
+
+- (void)presentImage:(CGImageRef)image;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+AX_EXTERN
+// Implement one of the following methods in order to provide data for a braille map to be rendered.
+@protocol AXBrailleMapRenderer <NSObject>
+
+// If the element displays a region that should be rendered into the braille map automatically,
+// specify it here (relative to the bounds of the object). VoiceOver will snapshot that region of the element
+// and convert to a braille map internally.
+@property (nonatomic, assign) CGRect accessibilityBrailleMapRenderRegion API_AVAILABLE(ios(15.2), tvos(15.2), watchos(8.2), macos(12.1));
+
+// This handler is called to ask the element to update the values of the braille map on-demand.
+@property (nonatomic, copy) void (^accessibilityBrailleMapRenderer)(AXBrailleMap *map) API_AVAILABLE(ios(15.2), tvos(15.2), watchos(8.2), macos(12.1));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h
--- /Applications/Xcode_13.2.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2021-10-20 02:04:14.000000000 -0400
+++ /Applications/Xcode_13.2.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/Accessibility.framework/Headers/Accessibility.h 2021-11-11 04:58:09.000000000 -0500
@@ -7,6 +7,7 @@
#import <Accessibility/AXFoundation.h>
#import <Accessibility/AXAudiograph.h>
+#import <Accessibility/AXBrailleMap.h>
#import <Accessibility/AXColorUtilities.h>
#import <Accessibility/AXCustomContent.h>
#import <Accessibility/AXHearingUtilities.h>
- 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