Skip to content

AVRouting iOS xcode14.0 beta2

TJ Lambert edited this page Aug 30, 2022 · 3 revisions

#AVRouting.framework https://github.com/xamarin/xamarin-macios/pull/15811

diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h	2022-05-31 14:52:39.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomDeviceRoute.h	2022-06-17 15:29:37.000000000 -0400
@@ -19,7 +19,7 @@
                 Usually, either the network endpoint or the Bluetooth identifier will be nil, depending on what type of device it is.
                 In certain scenarios both can be non-nil, in which case the client can decide which one to use.
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
 @interface AVCustomDeviceRoute : NSObject
 
 /*!
@@ -27,15 +27,14 @@
 	@abstract	An nw_endpoint_t to which clients can establish a connection.
 	@discussion Use Network.opaque() to convert an nw_endpoint_t to an NWEndpoint in Swift.
  */
-@property (nonatomic, nullable, readonly) nw_endpoint_t networkEndpoint;
+@property (nonatomic, nullable, readonly) nw_endpoint_t networkEndpoint API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
 	@property 	bluetoothIdentifier
 	@abstract	A bluetooth identifier which clients can use to establish a connection to a bluetooth device.
  */
-@property (nonatomic, nullable, readonly) NSUUID *bluetoothIdentifier;
+@property (nonatomic, nullable, readonly) NSUUID *bluetoothIdentifier API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 @end
 
 NS_ASSUME_NONNULL_END
-
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h	2022-05-31 14:52:39.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingActionItem.h	2022-06-17 15:29:37.000000000 -0400
@@ -19,7 +19,7 @@
     @discussion An item can be any action the app wants to provide as menu items besides the discovered routes.
     Tapping on the custom items dismisses the picker and invokes a callback to the app telling it which item was tapped. (See -[AVCustomRoutingController customRoutingController:didSelectItem:])
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
 @interface AVCustomRoutingActionItem : NSObject
 
 /*!
@@ -27,14 +27,14 @@
     @abstract   A UTType with an identifier which matches a UTType in the info.plist.
     @discussion Provide a UTTypeSymbolName and description in the info.plist.
  */
-@property (nonatomic, copy) UTType *type API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos);
+@property (nonatomic, copy) UTType *type API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
     @property   overrideTitle
     @abstract   A title which overrides the title of the UTType.
     @discussion Use this to dynamically override the title of the custom item.
  */
-@property (nonatomic, copy, nullable) NSString *overrideTitle API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos);
+@property (nonatomic, copy, nullable) NSString *overrideTitle API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 @end
 
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h	2022-05-31 14:52:39.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingController.h	2022-06-17 15:27:18.000000000 -0400
@@ -7,7 +7,6 @@
     
  */
 
-
 #import <Foundation/Foundation.h>
 
 #import <AVRouting/AVRoutingDefines.h>
@@ -23,34 +22,34 @@
 	@constant	AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification
 	@abstract	Posted when the value of authorizedRoutes changes.
  */
-AVROUTING_EXTERN NSNotificationName const AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification NS_SWIFT_NAME(AVCustomRoutingController.authorizedRoutesDidChange) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos);
+AVROUTING_EXTERN NSNotificationName const AVCustomRoutingControllerAuthorizedRoutesDidChangeNotification NS_SWIFT_NAME(AVCustomRoutingController.authorizedRoutesDidChange) API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
 	@class		AVCustomRoutingController
 	@abstract	When a user selects / deselects a 3rd party device in the route picker, this class delegates the activation / deactivation of that device to the client of this class via AVCustomRoutingEvents.
 	@discussion	This class also informs the client which routes have been previously authorized, allowing them to reconnect if appropriate.
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
 @interface AVCustomRoutingController : NSObject
 
 /*!
 	@property 	delegate
 	@abstract	The receiver's delegate.
  */
-@property (nonatomic, weak, nullable) id<AVCustomRoutingControllerDelegate> delegate;
+@property (nonatomic, weak, nullable) id<AVCustomRoutingControllerDelegate> delegate API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
 	@property 	authorizedRoutes
 	@abstract	The list of authorized routes. Once a route has been activated, it remains authorized for a certain amount of time even if the connection to the route temporarily goes down.
 				The app may reactivate any one of these routes if they deem it appropriate, but must inform the system by calling -setActive:forRoute:.
  */
-@property (nonatomic, readonly) NSArray<AVCustomDeviceRoute *> *authorizedRoutes;
+@property (nonatomic, readonly) NSArray<AVCustomDeviceRoute *> *authorizedRoutes API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
     @property   customActionItems
     @abstract   An array of custom action items to be added in the picker.
  */
-@property (nonatomic, strong) NSArray<AVCustomRoutingActionItem *> *customActionItems API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos);
+@property (nonatomic, strong) NSArray<AVCustomRoutingActionItem *> *customActionItems API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
 	@method     invalidateAuthorization
@@ -85,7 +84,7 @@
 	@protocol	AVCustomRoutingControllerDelegate
 	@abstract	A protocol for delegates of AVCustomRoutingController.
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
 @protocol AVCustomRoutingControllerDelegate <NSObject>
 
 /*!
@@ -122,4 +121,3 @@
 @end
 
 NS_ASSUME_NONNULL_END
-
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h	2022-05-31 14:52:39.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVRouting.framework/Headers/AVCustomRoutingEvent.h	2022-06-17 15:29:37.000000000 -0400
@@ -7,8 +7,6 @@
     
  */
 
-
-
 #import <Foundation/Foundation.h>
 
 NS_ASSUME_NONNULL_BEGIN
@@ -34,20 +32,20 @@
 	@abstract	This class represents an event that occurs on a route.
 	@discussion	Depending on the reason for the event, clients are expected to establish or tear down the connection to the given route.
  */
-API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos)
 @interface AVCustomRoutingEvent : NSObject
 
 /*!
 	@property 	reason
 	@abstract	The reason for the event.
  */
-@property (nonatomic, readonly) AVCustomRoutingEventReason reason;
+@property (nonatomic, readonly) AVCustomRoutingEventReason reason API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 /*!
 	@property 	route
 	@abstract	The route associated with the event.
  */
-@property (nonatomic, readonly) AVCustomDeviceRoute *route;
+@property (nonatomic, readonly) AVCustomDeviceRoute *route API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos) API_UNAVAILABLE(tvos, watchos);
 
 @end
 
Clone this wiki locally