-
Notifications
You must be signed in to change notification settings - Fork 516
IdentityLookup macOS xcode14.0 beta1
tj_devel709 edited this page Aug 23, 2022
·
3 revisions
#IdentityLookup.framework https://github.com/xamarin/xamarin-macios/pull/15740
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterAction.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterAction.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterAction.h 2022-02-23 10:58:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterAction.h 2022-05-31 15:04:37.000000000 -0400
@@ -26,6 +26,55 @@
/// Prevent the message from being shown normally, filtered as Transactional message.
ILMessageFilterActionTransaction API_AVAILABLE(ios(14.0), macCatalyst(14.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos) = 4,
+
} API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos);
+
+// Describes a sub-action to take in response to a received message.
+typedef NS_ENUM(NSInteger, ILMessageFilterSubAction) {
+ /// Insufficient information to determine an action to take. In a query response, has the effect of allowing the message to be shown normally.
+ ILMessageFilterSubActionNone = 0,
+
+ /// TRANSACTIONAL SUB-ACTIONS
+
+ /// Prevent the message from being shown normally, filtered as Other message.
+ ILMessageFilterSubActionTransactionalOthers = 10000,
+
+ /// Prevent the message from being shown normally, filtered as Finance message.
+ ILMessageFilterSubActionTransactionalFinance = 10001,
+
+ /// Prevent the message from being shown normally, filtered as Orders (eCommerce) message.
+ ILMessageFilterSubActionTransactionalOrders = 10002,
+
+ /// Prevent the message from being shown normally, filtered as Reminder message.
+ ILMessageFilterSubActionTransactionalReminders = 10003,
+
+ /// Prevent the message from being shown normally, filtered as Health message.
+ ILMessageFilterSubActionTransactionalHealth = 10004,
+
+ /// Prevent the message from being shown normally, filtered as Weather message.
+ ILMessageFilterSubActionTransactionalWeather = 10005,
+
+ /// Prevent the message from being shown normally, filtered as Carrier message.
+ ILMessageFilterSubActionTransactionalCarrier = 10006,
+
+ /// Prevent the message from being shown normally, filtered as Rewards message.
+ ILMessageFilterSubActionTransactionalRewards = 10007,
+
+ /// Prevent the message from being shown normally, filtered as Government message.
+ ILMessageFilterSubActionTransactionalPublicServices = 10008,
+
+ /// PROMOTIONAL SUB-ACTIONS
+
+ /// Prevent the message from being shown normally, filtered as Others message.
+ ILMessageFilterSubActionPromotionalOthers = 20000,
+
+ /// Prevent the message from being shown normally, filtered as Offers message.
+ ILMessageFilterSubActionPromotionalOffers = 20001,
+
+ /// Prevent the message from being shown normally, filtered as Coupons message.
+ ILMessageFilterSubActionPromotionalCoupons = 20002,
+
+} API_AVAILABLE(ios(16.0), macCatalyst(18.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos);
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryHandling.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryHandling.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryHandling.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryHandling.h 2022-05-31 15:04:37.000000000 -0400
@@ -0,0 +1,41 @@
+//
+// ILMessageFilterCapabilitiesQueryHandling.h
+// IdentityLookup
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <IdentityLookup/ILBase.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class ILMessageFilterExtensionContext;
+@class ILMessageFilterCapabilitiesQueryRequest;
+@class ILMessageFilterCapabilitiesQueryResponse;
+
+/**
+ Functionality related to MessageFilter extension capabilities query requests.
+
+ Subclasses of ILMessageFilterExtension which support querying must conform to this protocol.
+ */
+
+IL_EXTERN API_AVAILABLE(ios(16.0), macCatalyst(18.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos)
+@protocol ILMessageFilterCapabilitiesQueryHandling <NSObject>
+
+/**
+ Evaluate a query request and provide a response describing how the system should handle the message it represents.
+
+ - Using offline/stored information to form a response about the message described by the query request.
+
+ Block specified in `completion` parameter must be invoked with a response describing how to handle the message, and may be
+ invoked asynchronously.
+
+ @param capabilitiesQueryRequest A capabilities query request to be handled
+ @param context Extension context.
+ @param completion Completion block for returning a response.
+ */
+- (void)handleCapabilitiesQueryRequest:(ILMessageFilterCapabilitiesQueryRequest *)capabilitiesQueryRequest context:(ILMessageFilterExtensionContext *)context completion:(void (^)(ILMessageFilterCapabilitiesQueryResponse *))completion;
+
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryRequest.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryRequest.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryRequest.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryRequest.h 2022-05-31 15:04:38.000000000 -0400
@@ -0,0 +1,20 @@
+//
+// ILMessageFilterCapabilitiesQueryRequest.h
+// IdentityLookup
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <IdentityLookup/ILBase.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A request to query a MessageFilter extension about how to interpret a received message.
+IL_EXTERN API_AVAILABLE(ios(16.0), macCatalyst(18.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos)
+@interface ILMessageFilterCapabilitiesQueryRequest : NSObject <NSSecureCoding>
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryResponse.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryResponse.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryResponse.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterCapabilitiesQueryResponse.h 2022-05-31 15:04:37.000000000 -0400
@@ -0,0 +1,25 @@
+//
+// ILMessageFilterCapabilitiesQueryResponse.h
+// IdentityLookup
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <IdentityLookup/ILBase.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/// A response to an ILMessageFilterCapabilitiesQueryRequest.
+IL_EXTERN API_AVAILABLE(ios(16.0), macCatalyst(18.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos)
+@interface ILMessageFilterCapabilitiesQueryResponse : NSObject <NSSecureCoding>
+
+/// Array of type ILMessageFilterSubAction under Transactional
+@property (nonatomic, copy) NSArray<NSNumber *> *transactionalSubActions;
+
+/// Array of type ILMessageFilterSubAction under Promotional
+@property (nonatomic, copy) NSArray<NSNumber *> *promotionalSubActions;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterExtensionContext.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterExtensionContext.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterExtensionContext.h 2022-02-23 10:58:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterExtensionContext.h 2022-05-31 15:04:37.000000000 -0400
@@ -26,7 +26,6 @@
@param completion Completion block containing either the network response to the HTTPS request or an error.
*/
- (void)deferQueryRequestToNetworkWithCompletion:(void (^)(ILNetworkResponse *_Nullable response, NSError *_Nullable error))completion;
-
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryRequest.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryRequest.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryRequest.h 2022-02-23 10:58:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryRequest.h 2022-05-31 15:04:38.000000000 -0400
@@ -20,7 +20,11 @@
/// The body of the message the receiver relates to.
@property (nonatomic, readonly, nullable) NSString *messageBody;
+/// The ISO Country Code of the receiving phone number, in format specified by the ISO 3166-2 standard
+@property (nonatomic, readonly, nullable) NSString *receiverISOCountryCode API_AVAILABLE(ios(16.0), macCatalyst(16.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos);
+
- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
@end
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryResponse.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryResponse.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryResponse.h 2022-02-23 10:58:36.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/ILMessageFilterQueryResponse.h 2022-05-31 15:04:37.000000000 -0400
@@ -18,6 +18,9 @@
/// Action to take for the received message.
@property (nonatomic) ILMessageFilterAction action;
+/// SubAction to take for the received message.
+@property (nonatomic) ILMessageFilterSubAction subAction API_AVAILABLE(ios(16.0), macCatalyst(16.0)) API_UNAVAILABLE( tvos) API_UNAVAILABLE(macos, watchos);
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.apinotes /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.apinotes
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.apinotes 2022-02-12 06:58:45.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.apinotes 2022-05-21 08:03:13.000000000 -0400
@@ -1,6 +1,12 @@
---
Name: IdentityLookup
Classes:
+- Name: ILMessageFilterCapabilitiesQueryResponse
+ Properties:
+ - Name: 'transactionalSubActions'
+ SwiftPrivate: true
+ - Name: 'promotionalSubActions'
+ SwiftPrivate: true
- Name: ILMessageFilterExtensionContext
Methods:
- Selector: 'deferQueryRequestToNetworkWithCompletion:'
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.h 2022-02-12 07:01:20.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IdentityLookup.framework/Headers/IdentityLookup.h 2022-05-21 08:06:38.000000000 -0400
@@ -21,6 +21,10 @@
#import <IdentityLookup/ILMessageFilterQueryRequest.h>
#import <IdentityLookup/ILMessageFilterQueryResponse.h>
+#import <IdentityLookup/ILMessageFilterCapabilitiesQueryHandling.h>
+#import <IdentityLookup/ILMessageFilterCapabilitiesQueryRequest.h>
+#import <IdentityLookup/ILMessageFilterCapabilitiesQueryResponse.h>
+
#import <IdentityLookup/ILCommunication.h>
#import <IdentityLookup/ILCallCommunication.h>
#import <IdentityLookup/ILMessageCommunication.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status