-
Notifications
You must be signed in to change notification settings - Fork 514
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Accessibility] Add new Framework from Xcode 12 beta 1. (#9086)
Co-authored-by: Rolf Bjarne Kvinge <[email protected]>
- Loading branch information
1 parent
0bf816a
commit 2b35db0
Showing
14 changed files
with
83 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
using System; | ||
using Foundation; | ||
using ObjCRuntime; | ||
|
||
namespace Accessibility { | ||
|
||
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)] | ||
[Native] | ||
public enum AXCustomContentImportance : ulong | ||
{ | ||
Default, | ||
High, | ||
} | ||
|
||
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)] | ||
[BaseType (typeof (NSObject))] | ||
[DisableDefaultCtor] | ||
interface AXCustomContent : NSCopying, NSSecureCoding | ||
{ | ||
[Static] | ||
[Export ("customContentWithLabel:value:")] | ||
AXCustomContent Create (string label, string value); | ||
|
||
[Static] | ||
[Export ("customContentWithAttributedLabel:attributedValue:")] | ||
AXCustomContent Create (NSAttributedString label, NSAttributedString value); | ||
|
||
[Export ("label")] | ||
string Label { get; } | ||
|
||
[Export ("attributedLabel", ArgumentSemantic.Copy)] | ||
NSAttributedString AttributedLabel { get; } | ||
|
||
[Export ("value")] | ||
string Value { get; } | ||
|
||
[Export ("attributedValue", ArgumentSemantic.Copy)] | ||
NSAttributedString AttributedValue { get; } | ||
|
||
[Export ("importance", ArgumentSemantic.Assign)] | ||
AXCustomContentImportance Importance { get; set; } | ||
} | ||
|
||
[Watch (7, 0), TV (14, 0), Mac (10, 16), iOS (14, 0)] | ||
[Protocol] | ||
interface AXCustomContentProvider | ||
{ | ||
[Abstract] | ||
[NullAllowed, Export ("accessibilityCustomContent", ArgumentSemantic.Copy)] | ||
AXCustomContent[] AccessibilityCustomContent { get; set; } | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2b35db0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Build was (probably) aborted
🔥 Jenkins job (on internal Jenkins) failed in stage(s) 'Running XM tests on '10.16'' 🔥 : hudson.AbortException: script returned exit code 1
✅ Build succeeded
✅ Packages:
✅ API Diff (from stable)
ℹ️ API Diff (from PR only) (please review changes)
ℹ️ Generator Diff (please review changes)
🔥 Xamarin.Mac tests on 10.16 failed: script returned exit code 1 🔥
✅ Test run succeeded