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

Commit0d5c664

Browse files
authored
[usernotifications] Update for Xcode 11 beta 1 (#6355)
No changes in beta 2
1 parent626a859 commit0d5c664

File tree

5 files changed

+19
-18
lines changed

5 files changed

+19
-18
lines changed

‎src/usernotifications.cs‎

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ public enum UNNotificationCategoryOptions : ulong {
6363
AllowInCarPlay=(2<<0),
6464
HiddenPreviewsShowTitle=(1<<2),
6565
HiddenPreviewsShowSubtitle=(1<<3),
66+
[iOS(13,0)][Watch(6,0)][NoMac]
67+
AllowAnnouncement=(1<<4),
6668
}
6769

6870
[iOS(10,0)]
@@ -371,6 +373,12 @@ interface UNNotificationContent : NSCopying, NSMutableCopying, NSSecureCoding {
371373
[NoWatch,NoTV,iOS(12,0)]
372374
[Export("summaryArgumentCount")]
373375
nuintSummaryArgumentCount{get;}
376+
377+
[iOS(13,0)]
378+
[TV(13,0)][Watch(6,0)]// no direct mention in headers
379+
[Mac(10,15,onlyOn64:true)]
380+
[NullAllowed,Export("targetContentIdentifier")]
381+
stringTargetContentIdentifier{get;[NotImplemented]set;}
374382
}
375383

376384
[iOS(10,0)]
@@ -425,6 +433,12 @@ interface UNMutableNotificationContent {
425433
[NoWatch,NoTV,iOS(12,0)]
426434
[Export("summaryArgumentCount")]
427435
nuintSummaryArgumentCount{get;set;}
436+
437+
[iOS(13,0)]
438+
[TV(13,0)][Watch(6,0)]// no direct mention in headers
439+
[Mac(10,15,onlyOn64:true)]
440+
[NullAllowed,Export("targetContentIdentifier")]
441+
stringTargetContentIdentifier{get;set;}
428442
}
429443

430444
[iOS(10,0)]
@@ -502,8 +516,8 @@ interface UNTextInputNotificationResponse {
502516

503517
[iOS(10,0)]
504518
[Mac(10,14,onlyOn64:true)]
519+
[Watch(6,0)]
505520
[Unavailable(PlatformName.TvOS)]
506-
[Unavailable(PlatformName.WatchOS)]
507521
[BaseType(typeof(NSObject))]
508522
[DisableDefaultCtor]// as per docs
509523
interfaceUNNotificationServiceExtension{
@@ -568,6 +582,10 @@ interface UNNotificationSettings : NSCopying, NSSecureCoding {
568582
[Watch(5,0),NoTV,Mac(10,14,onlyOn64:true),iOS(12,0)]
569583
[Export("providesAppNotificationSettings")]
570584
boolProvidesAppNotificationSettings{get;}
585+
586+
[Watch(6,0),NoTV,NoMac,iOS(13,0)]
587+
[Export("announcementSetting")]
588+
UNNotificationSettingAnnouncementSetting{get;}
571589
}
572590

573591
[iOS(10,0)]

‎tests/xtro-sharpie/iOS-UserNotifications.todo‎

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

‎tests/xtro-sharpie/macOS-UserNotifications.todo‎

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

‎tests/xtro-sharpie/tvOS-UserNotifications.todo‎

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

‎tests/xtro-sharpie/watchOS-UserNotifications.todo‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp