Skip to content

Commit 3450b4a

Browse files
authored
[Accessibility] Update to Xcode 26 beta 1-5. (#23480)
1 parent 9b37cdd commit 3450b4a

File tree

6 files changed

+87
-92
lines changed

6 files changed

+87
-92
lines changed

src/Accessibility/AXSettings.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ public enum AXSettingsFeature : long {
2323
[SupportedOSPlatform ("macos15.2")]
2424
[SupportedOSPlatform ("tvos18.2")]
2525
AllowAppsToAddAudioToCalls,
26+
[SupportedOSPlatform ("ios26.0")]
27+
[SupportedOSPlatform ("maccatalyst26.0")]
28+
[SupportedOSPlatform ("macos26.0")]
29+
[SupportedOSPlatform ("tvos26.0")]
30+
AssistiveTouch,
31+
[SupportedOSPlatform ("ios26.0")]
32+
[SupportedOSPlatform ("maccatalyst26.0")]
33+
[SupportedOSPlatform ("macos26.0")]
34+
[SupportedOSPlatform ("tvos26.0")]
35+
AssistiveTouchDevices,
36+
[SupportedOSPlatform ("ios26.0")]
37+
[SupportedOSPlatform ("maccatalyst26.0")]
38+
[SupportedOSPlatform ("macos26.0")]
39+
[SupportedOSPlatform ("tvos26.0")]
40+
DwellControl,
2641
}
2742

2843
public static class AXSettings {

src/accessibility.cs

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,4 +636,76 @@ interface AXMathExpressionProvider {
636636
[NullAllowed, Export ("accessibilityMathExpression")]
637637
AXMathExpression AccessibilityMathExpression { get; }
638638
}
639+
640+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
641+
[BaseType (typeof (NSObject))]
642+
[DisableDefaultCtor]
643+
interface AXBrailleTable : NSCopying, NSCoding {
644+
[Export ("identifier")]
645+
string Identifier { get; }
646+
647+
[Export ("localizedName")]
648+
string LocalizedName { get; }
649+
650+
[Export ("providerIdentifier")]
651+
string ProviderIdentifier { get; }
652+
653+
[Export ("localizedProviderName")]
654+
string LocalizedProviderName { get; }
655+
656+
[Export ("language")]
657+
string Language { get; }
658+
659+
[Export ("locales")]
660+
NSSet<NSLocale> Locales { get; }
661+
662+
[Export ("isEightDot")]
663+
bool IsEightDot { get; }
664+
665+
[Static]
666+
[Export ("supportedLocales")]
667+
NSSet<NSLocale> SupportedLocales { get; }
668+
669+
[Static]
670+
[Export ("defaultTableForLocale:")]
671+
[return: NullAllowed]
672+
AXBrailleTable GetDefaultTable (NSLocale locale);
673+
674+
[Static]
675+
[Export ("tablesForLocale:")]
676+
NSSet<AXBrailleTable> GetTables (NSLocale locale);
677+
678+
[Static]
679+
[Export ("languageAgnosticTables")]
680+
NSSet<AXBrailleTable> LanguageAgnosticTables { get; }
681+
682+
[Export ("initWithIdentifier:")]
683+
NativeHandle Constructor (string identifier);
684+
}
685+
686+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
687+
[BaseType (typeof (NSObject))]
688+
[DisableDefaultCtor]
689+
interface AXBrailleTranslationResult : NSCopying, NSCoding {
690+
[Export ("resultString")]
691+
string ResultString { get; }
692+
693+
[Export ("locationMap")]
694+
[BindAs (typeof (nint []))]
695+
NSNumber [] LocationMap { get; }
696+
}
697+
698+
[MacCatalyst (26, 0), TV (26, 0), Mac (26, 0), iOS (26, 0)]
699+
[BaseType (typeof (NSObject))]
700+
[DisableDefaultCtor]
701+
interface AXBrailleTranslator {
702+
[Export ("initWithBrailleTable:")]
703+
NativeHandle Constructor (AXBrailleTable brailleTable);
704+
705+
[Export ("translatePrintText:")]
706+
AXBrailleTranslationResult Translate (string printText);
707+
708+
[Export ("backTranslateBraille:")]
709+
AXBrailleTranslationResult BackTranslate (string braille);
710+
}
639711
}

tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-Accessibility.todo

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/iOS-Accessibility.todo

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/macOS-Accessibility.todo

Lines changed: 0 additions & 23 deletions
This file was deleted.

tests/xtro-sharpie/api-annotations-dotnet/tvOS-Accessibility.todo

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)