Skip to content

Commit

Permalink
[SafetyKit] Added support for Xcode 14.1 b1
Browse files Browse the repository at this point in the history
  • Loading branch information
Israel Soto committed Sep 20, 2022
1 parent d12210b commit 191a1b9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions src/SafetyKit/SAEnums.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace SafetyKit {

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[Native]
public enum SAAuthorizationStatus : long
{
Expand All @@ -24,15 +24,15 @@ public enum SAAuthorizationStatus : long
Authorized,
}

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[Native]
public enum SACrashDetectionEventResponse : long
{
Attempted,
Disabled,
}

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[Native]
public enum SAEmergencyResponseManagerVoiceCallStatus : long
{
Expand All @@ -42,7 +42,7 @@ public enum SAEmergencyResponseManagerVoiceCallStatus : long
Failed
}

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[ErrorDomain ("SAErrorDomain")]
[Native]
public enum SAErrorCode : long
Expand Down
10 changes: 5 additions & 5 deletions src/safetykit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace SafetyKit {

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[BaseType (typeof (NSObject))]
[DisableDefaultCtor]
interface SACrashDetectionEvent : NSSecureCoding, NSCopying
Expand All @@ -35,7 +35,7 @@ interface SACrashDetectionEvent : NSSecureCoding, NSCopying

delegate void SACrashDetectionManagerRequestAuthorizationCompletionHandler (SAAuthorizationStatus status, [NullAllowed] NSError error);

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[BaseType (typeof (NSObject))]
interface SACrashDetectionManager
{
Expand All @@ -60,7 +60,7 @@ interface SACrashDetectionManager

interface ISACrashDetectionDelegate { }

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
#if NET
[Protocol, Model]
#else
Expand All @@ -75,7 +75,7 @@ interface SACrashDetectionDelegate

delegate void SAEmergencyResponseManagerDialVoiceCallCompletionHandler (bool requestAccepted, [NullAllowed] NSError error);

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
[BaseType (typeof (NSObject))]
interface SAEmergencyResponseManager
{
Expand All @@ -93,7 +93,7 @@ interface SAEmergencyResponseManager

interface ISAEmergencyResponseDelegate { }

[Mac (13,0), iOS (16,0), MacCatalyst (16,0), NoWatch, NoTV]
[Mac (13,0), iOS (16,0), MacCatalyst (16,0), Watch (9,0), NoTV]
#if NET
[Protocol, Model]
#else
Expand Down

0 comments on commit 191a1b9

Please sign in to comment.