Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[usernotifications] Update for Xcode 11 beta 1#6355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletionsrc/usernotifications.cs
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,6 +63,8 @@ public enum UNNotificationCategoryOptions : ulong {
AllowInCarPlay = (2 << 0),
HiddenPreviewsShowTitle = (1 << 2),
HiddenPreviewsShowSubtitle = (1 << 3),
[iOS (13,0)][Watch (6,0)][NoMac]
AllowAnnouncement = (1 << 4),
}

[iOS (10, 0)]
Expand DownExpand Up@@ -371,6 +373,12 @@ interface UNNotificationContent : NSCopying, NSMutableCopying, NSSecureCoding {
[NoWatch, NoTV, iOS (12, 0)]
[Export ("summaryArgumentCount")]
nuint SummaryArgumentCount { get; }

[iOS (13,0)]
[TV (13,0)][Watch (6,0)] // no direct mention in headers
[Mac (10,15, onlyOn64: true)]
[NullAllowed, Export ("targetContentIdentifier")]
string TargetContentIdentifier { get; [NotImplemented] set; }
}

[iOS (10, 0)]
Expand DownExpand Up@@ -425,6 +433,12 @@ interface UNMutableNotificationContent {
[NoWatch, NoTV, iOS (12, 0)]
[Export ("summaryArgumentCount")]
nuint SummaryArgumentCount { get; set; }

[iOS (13,0)]
[TV (13,0)][Watch (6,0)] // no direct mention in headers
[Mac (10,15, onlyOn64: true)]
[NullAllowed, Export ("targetContentIdentifier")]
string TargetContentIdentifier { get; set; }
}

[iOS (10, 0)]
Expand DownExpand Up@@ -502,8 +516,8 @@ interface UNTextInputNotificationResponse {

[iOS (10, 0)]
[Mac (10,14, onlyOn64: true)]
[Watch (6,0)]
[Unavailable (PlatformName.TvOS)]
[Unavailable (PlatformName.WatchOS)]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor] // as per docs
interface UNNotificationServiceExtension {
Expand DownExpand Up@@ -568,6 +582,10 @@ interface UNNotificationSettings : NSCopying, NSSecureCoding {
[Watch (5, 0), NoTV, Mac (10, 14, onlyOn64: true), iOS (12, 0)]
[Export ("providesAppNotificationSettings")]
bool ProvidesAppNotificationSettings { get; }

[Watch (6,0), NoTV, NoMac, iOS (13,0)]
[Export ("announcementSetting")]
UNNotificationSetting AnnouncementSetting { get; }
}

[iOS (10, 0)]
Expand Down
4 changes: 0 additions & 4 deletionstests/xtro-sharpie/iOS-UserNotifications.todo
View file
Open in desktop

This file was deleted.

3 changes: 0 additions & 3 deletionstests/xtro-sharpie/macOS-UserNotifications.todo
View file
Open in desktop

This file was deleted.

3 changes: 0 additions & 3 deletionstests/xtro-sharpie/tvOS-UserNotifications.todo
View file
Open in desktop

This file was deleted.

7 changes: 0 additions & 7 deletionstests/xtro-sharpie/watchOS-UserNotifications.todo
View file
Open in desktop

This file was deleted.


[8]ページ先頭

©2009-2025 Movatter.jp