Skip to content

Commit

Permalink
[watchos][watchkit] Small updates for Xcode 8.2 beta 1 (#1103)
Browse files Browse the repository at this point in the history
Normally the removal of `HandleAction` would be a breaking change (and
require a stub). However Xamarin.WatchOS.dll is not final before C9 so
this fix will be backported to `master` and `cycle9` branches.
  • Loading branch information
spouliot committed Nov 3, 2016
1 parent e553856 commit aedf9cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/watchkit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ interface WKInterfaceController {
[Export ("handleActionWithIdentifier:forLocalNotification:")]
void HandleLocalNotificationAction ([NullAllowed] string identifier, UILocalNotification localNotification);

[Watch (3,0)][iOS (10,0)]
[iOS (10,0)]
[NoWatch]
[Export ("handleActionWithIdentifier:forNotification:")]
void HandleAction ([NullAllowed] string identifier, UNNotification notification);

Expand Down Expand Up @@ -1020,7 +1021,7 @@ interface WKSnapshotRefreshBackgroundTask {
bool ReturnToDefaultState { get; }

[Export ("setTaskCompletedWithDefaultStateRestored:estimatedSnapshotExpiration:userInfo:")]
void SetTaskCompleted (bool restoredDefaultState, NSDate estimatedSnapshotExpiration, [NullAllowed] INSSecureCoding userInfo);
void SetTaskCompleted (bool restoredDefaultState, [NullAllowed] NSDate estimatedSnapshotExpiration, [NullAllowed] INSSecureCoding userInfo);
}

[Watch (3,0)][NoiOS]
Expand Down

0 comments on commit aedf9cd

Please sign in to comment.