Skip to content

AVKit tvOS xcode16.0 b1

Rolf Bjarne Kvinge edited this page Jul 10, 2024 · 4 revisions

#AVKit.framework https://github.com/xamarin/xamarin-macios/pull/20849

diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2024-03-25 03:51:18
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h	2024-05-30 04:52:29
@@ -104,20 +105,20 @@
 	@property	allowsVideoFrameAnalysis
 	@abstract	When set to YES, the AVPlayerViewController will try to find objects, text and people while the media is paused. When an object is found, the user will be able to interact with it using long press to present a context menu. Default is YES.
 */
-@property (nonatomic) BOOL allowsVideoFrameAnalysis API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, visionos);
+@property (nonatomic) BOOL allowsVideoFrameAnalysis API_AVAILABLE(ios(16.0), macCatalyst(18.0)) API_UNAVAILABLE(tvos, watchos, visionos);
 
 /*!
 	@property 	videoFrameAnalysisTypes
 	@abstract	The types of analysis AVPlayerViewController will perform on a paused video frame. The default value is AVVideoFrameAnalysisDefault.
  */
-@property (nonatomic) AVVideoFrameAnalysisType videoFrameAnalysisTypes API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, visionos);
+@property (nonatomic) AVVideoFrameAnalysisType videoFrameAnalysisTypes API_AVAILABLE(ios(17.0), macCatalyst(18.0)) API_UNAVAILABLE(tvos, watchos, visionos);
 
 /*!
 	@property 	toggleLookupAction
 	@abstract 	A UIAction used for enabling the visual lookup interface.
 	@discussion	Use this action to toggle visual lookup UI. This action's attributes will be set to disabled when there is no visual lookup data available or when the media is playing. Make sure to 	update your user interface to reflect this change. When the lookup UI is toggled, the state property is set to UIMenuElementStateOn; otherwise it will be set to UIMenuElementStateOff.
  */
-@property (nonatomic, readonly) UIAction *toggleLookupAction API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, visionos);
+@property (nonatomic, readonly) UIAction *toggleLookupAction API_AVAILABLE(ios(17.0), macCatalyst(18.0)) API_UNAVAILABLE(tvos, watchos, visionos);
 
 /*!
 	@property	canStartPictureInPictureAutomaticallyFromInline
@@ -307,6 +308,16 @@
 				This image is only shown if `AVPlayerViewController.contextualActions` contains exactly one action.
 */
 @property (nonatomic, nullable, copy) UIImage *contextualActionsPreviewImage API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+
+
+// MARK: - Group Experiences
+
+/*!
+	@property	groupExperienceCoordinator
+	@abstract	Retrieve the group experience coordinator for this view controller.
+	@discussion	Use this property to coordinate a group experience among participating view controllers.
+ */
+@property (nonatomic, readonly) AVGroupExperienceCoordinator *groupExperienceCoordinator API_AVAILABLE(visionos(2.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
 
 
 // MARK: - Info Panel Customization
Clone this wiki locally