-
Notifications
You must be signed in to change notification settings - Fork 514
AVKit iOS xcode15.0 b5
Haritha Mohan edited this page Sep 14, 2023
·
3 revisions
#AVKit.framework https://github.com/xamarin/xamarin-macios/pull/19022
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVError.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVError.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVError.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVError.h 2023-07-14 22:57:34
@@ -16,7 +16,7 @@
@constant AVKitErrorDomain
@abstract Domain for errors from AVKit APIs.
*/
-AVKIT_EXTERN NSString * const AVKitErrorDomain API_AVAILABLE(ios(9.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
+AVKIT_EXTERN NSString * const AVKitErrorDomain API_AVAILABLE(ios(9.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
/*!
@@ -39,9 +39,9 @@
AVKitErrorUnknown = -1000,
AVKitErrorPictureInPictureStartFailed API_UNAVAILABLE(watchos) = -1001,
- AVKitErrorContentRatingUnknown API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, xros, watchos) = -1100,
- AVKitErrorContentDisallowedByPasscode API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, xros, watchos) = -1101,
- AVKitErrorContentDisallowedByProfile API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, xros, watchos) = -1102,
+ AVKitErrorContentRatingUnknown API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos) = -1100,
+ AVKitErrorContentDisallowedByPasscode API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos) = -1101,
+ AVKitErrorContentDisallowedByProfile API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, visionos, watchos) = -1102,
- AVKitErrorRecordingFailed API_UNAVAILABLE(watchos) API_UNAVAILABLE(ios, tvos, xros) = -1200,
-} API_AVAILABLE(ios(9.0), tvos(13.0), xros(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
+ AVKitErrorRecordingFailed API_UNAVAILABLE(watchos) API_UNAVAILABLE(ios, tvos, visionos) = -1200,
+} API_AVAILABLE(ios(9.0), tvos(13.0), visionos(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos);
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVInterstitialTimeRange.h 2023-07-14 22:57:34
@@ -18,7 +18,7 @@
@discussion An AVInterstitialTimeRange identifies a portion of an asset as an interstitial. When the asset is presented, the time range of this interstitial content will be collapsed in the user interface timeline to a single dot, scrubbing will skip over this range, and the duration will be subtracted from the time remaining in the video as displayed to the user.
*/
-API_AVAILABLE(tvos(9.0), ios(16.0), xros(1.0)) API_UNAVAILABLE(macos, watchos)
+API_AVAILABLE(tvos(9.0), ios(16.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos)
@interface AVInterstitialTimeRange : NSObject <NSCopying, NSSecureCoding>
/*!
@@ -27,7 +27,7 @@
The time range of the interstitial.
@abstract Designated initializer.
*/
- - (instancetype)initWithTimeRange:(CMTimeRange)timeRange API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, xros) API_UNAVAILABLE(macos, watchos) NS_DESIGNATED_INITIALIZER;
+ - (instancetype)initWithTimeRange:(CMTimeRange)timeRange API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, visionos) API_UNAVAILABLE(macos, watchos) NS_DESIGNATED_INITIALIZER;
/*!
@property timeRange
@abstract The time range of the interstitial.
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2023-07-14 22:57:33
@@ -38,7 +38,7 @@
#endif // TARGET_OS_OSX
-#if TARGET_OS_IOS && !TARGET_OS_XR
+#if TARGET_OS_IOS && !TARGET_OS_VISION
#import <AVKit/AVError.h>
#import <AVKit/AVPictureInPictureController.h>
#import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
@@ -77,7 +77,7 @@
#endif // TARGET_OS_TV
-#if TARGET_OS_XR
+#if TARGET_OS_VISION
#import <AVKit/AVDisplayManager.h>
#import <AVKit/AVError.h>
#import <AVKit/AVInterstitialTimeRange.h>
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h 2023-06-24 03:37:51
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController.h 2023-07-15 03:07:27
@@ -30,7 +30,7 @@
@abstract AVPictureInPictureController is a subclass of NSObject that can be used to present the contents of an AVPlayerLayer or AVPlayerView floating on top of applications.
*/
-API_AVAILABLE(ios(9.0), macos(10.15), tvos(14.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(ios(9.0), macos(10.15), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos)
@interface AVPictureInPictureController : NSObject
/*!
@@ -61,13 +61,13 @@
@property pictureInPictureButtonStartImage
@abstract System default Picture in Picture start template image for use in client's Picture in Picture button.
*/
-@property (class, nonatomic, readonly) UIImage *pictureInPictureButtonStartImage API_AVAILABLE(ios(13.0), tvos(14.0));
+@property (class, nonatomic, readonly) UIImage *pictureInPictureButtonStartImage API_AVAILABLE(ios(13.0), tvos(14.0), visionos(1.0));
/*!
@property pictureInPictureButtonStopImage
@abstract System default Picture in Picture stop template image for use in client's Picture in Picture button.
*/
-@property (class, nonatomic, readonly) UIImage *pictureInPictureButtonStopImage API_AVAILABLE(ios(13.0), tvos(14.0));
+@property (class, nonatomic, readonly) UIImage *pictureInPictureButtonStopImage API_AVAILABLE(ios(13.0), tvos(14.0), visionos(1.0));
#elif TARGET_OS_OSX
/*!
@property pictureInPictureButtonStartImage
@@ -88,7 +88,7 @@
The content source to be shown in Picture in Picture.
@abstract Use this initializer for content that may be a sample buffer display layer or a player layer.
*/
-- (instancetype)initWithContentSource:(AVPictureInPictureControllerContentSource *)contentSource API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos) NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithContentSource:(AVPictureInPictureControllerContentSource *)contentSource API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos) NS_DESIGNATED_INITIALIZER;
/*!
@method initWithPlayerLayer:
@@ -102,7 +102,7 @@
@property contentSource
@abstract The receiver's content source. Can be changed while Picture in Picture is active, but the new content source must be ready for display (in the case of AVPlayerLayer, that means AVPlayerLayer.isReadyForDisplay must return YES), otherwise Picture in Picture will stop.
*/
-@property (nonatomic, strong, nullable) AVPictureInPictureControllerContentSource *contentSource API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, strong, nullable) AVPictureInPictureControllerContentSource *contentSource API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property playerLayer
@@ -153,21 +153,21 @@
@abstract Whether or not any Picture in Picture is active, and can be stopped.
@discussion When true, stopPictureInPicture will stop the active Picture in Picture session. Apps should re-inspect the system-provided picture in picture start button image when this property changes. Observable.
*/
-@property (nonatomic, readonly) BOOL canStopPictureInPicture API_AVAILABLE(tvos(14.0)) API_UNAVAILABLE(ios, macos, watchos);
+@property (nonatomic, readonly) BOOL canStopPictureInPicture API_AVAILABLE(tvos(14.0)) API_UNAVAILABLE(ios, macos, watchos, visionos);
/*!
@property requiresLinearPlayback
@abstract Disables certain user operations (fast forward, forward skip, and scrubbing).
@discussion This can be used to temporarily enforce playback of mandatory content (such as legalese or advertisements).
*/
-@property (nonatomic) BOOL requiresLinearPlayback API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic) BOOL requiresLinearPlayback API_AVAILABLE(ios(14.0), macos(11.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property canStartPictureInPictureAutomaticallyFromInline
@abstract Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline. Default is NO.
@discussion This property must only be set to YES for content intended to be the user's primary focus.
*/
-@property (nonatomic) BOOL canStartPictureInPictureAutomaticallyFromInline API_AVAILABLE(ios(14.2)) API_UNAVAILABLE(watchos, tvos, macos);
+@property (nonatomic) BOOL canStartPictureInPictureAutomaticallyFromInline API_AVAILABLE(ios(14.2), visionos(1.0)) API_UNAVAILABLE(watchos, tvos, macos);
@end
@@ -177,7 +177,7 @@
@abstract A content source for AVPictureInPictureController.
@discussion Create a content source with an appropriate layer, and use it to initialize the AVPictureInPictureController.
*/
-API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos)
NS_SWIFT_NAME(AVPictureInPictureController.ContentSource)
@interface AVPictureInPictureControllerContentSource : NSObject
@@ -206,7 +206,7 @@
@abstract A protocol for delegates of AVPictureInPictureController.
*/
-API_AVAILABLE(ios(9.0), macos(10.15), tvos(14.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(ios(9.0), macos(10.15), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos)
@protocol AVPictureInPictureControllerDelegate <NSObject>
@optional
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h 2023-06-24 04:48:44
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h 2023-07-14 22:59:43
@@ -22,7 +22,7 @@
@abstract Informs Picture in Picture controller that it should request an updated playback state from its sampleBufferPlaybackDelegate.
@discussion This should always be called whenever playback is paused or unpaused, or the underlying content duration changes.
*/
-- (void)invalidatePlaybackState API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos);
+- (void)invalidatePlaybackState API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos);
@end
@@ -31,7 +31,7 @@
@protocol AVPictureInPictureSampleBufferPlaybackDelegate
@abstract A protocol for controlling playback from an AVSampleBufferDisplayLayer in Picture in Picture.
*/
-API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos)
@protocol AVPictureInPictureSampleBufferPlaybackDelegate <NSObject>
/*!
@@ -105,7 +105,7 @@
@end
-API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(ios(15.0), tvos(15.0), macos(12.0), visionos(1.0)) API_UNAVAILABLE(watchos)
@interface AVPictureInPictureControllerContentSource (AVSampleBufferDisplayLayerSupport)
/*!
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h 2023-06-26 07:04:52
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPictureInPictureController_VideoCallSupport.h 2023-07-14 22:46:19
@@ -17,7 +17,7 @@
@class AVPictureInPictureVideoCallViewController
@abstract Subclass or directly use `AVPictureInPictureVideoCallViewController` as the container for content to be shown in Picture in Picture while video calls are active.
*/
-API_AVAILABLE(ios(15.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos)
+API_AVAILABLE(ios(15.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos)
@interface AVPictureInPictureVideoCallViewController : UIViewController
@end
@@ -40,7 +40,7 @@
The view controller that should appear in the system's Picture in Picture window.
@abstract Initializes a new `AVPictureInPictureControllerContentSource` suitable for supporting an active video call. This object should only be used for the duration of the call.
*/
-- (instancetype)initWithActiveVideoCallSourceView:(UIView *)sourceView contentViewController:(AVPictureInPictureVideoCallViewController *)contentViewController API_AVAILABLE(ios(15.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos);
+- (instancetype)initWithActiveVideoCallSourceView:(UIView *)sourceView contentViewController:(AVPictureInPictureVideoCallViewController *)contentViewController API_AVAILABLE(ios(15.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos);
/*!
@property activeVideoCallSourceView
@@ -48,7 +48,7 @@
@discussion `AVPictureInPictureController` uses this view's layout frame and visibility to determine whether or not Picture in Picture should begin automatically when the app moves to background.
The layout frame also influences the animation when entering and exiting Picture in Picture.
*/
-@property (nonatomic, weak, readonly) UIView *activeVideoCallSourceView API_AVAILABLE(ios(15.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos);
+@property (nonatomic, weak, readonly) UIView *activeVideoCallSourceView API_AVAILABLE(ios(15.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos);
/*!
@property activeVideoCallContentViewController
@@ -59,7 +59,7 @@
The content should always fill the view controller's view's bounds.
Note that this view controller's view is not interactive and will not receive touches or other user input.
*/
-@property (nonatomic, readonly) AVPictureInPictureVideoCallViewController *activeVideoCallContentViewController API_AVAILABLE(ios(15.0), tvos(17.0)) API_UNAVAILABLE(macos, watchos);
+@property (nonatomic, readonly) AVPictureInPictureVideoCallViewController *activeVideoCallContentViewController API_AVAILABLE(ios(15.0), tvos(17.0), visionos(1.0)) API_UNAVAILABLE(macos, watchos);
@end
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackRouteSelecting.h 2023-07-14 22:57:34
@@ -25,10 +25,10 @@
AVAudioSessionRouteSelectionNone = 0,
AVAudioSessionRouteSelectionLocal = 1,
AVAudioSessionRouteSelectionExternal = 2
-} NS_SWIFT_NAME(AVAudioSession.RouteSelection) API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, tvos, watchos);
+} NS_SWIFT_NAME(AVAudioSession.RouteSelection) API_AVAILABLE(ios(13.0), visionos(1.0)) API_UNAVAILABLE(macos, tvos, watchos);
-API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(macos, tvos, watchos)
+API_AVAILABLE(ios(13.0), visionos(1.0)) API_UNAVAILABLE(macos, tvos, watchos)
@interface AVAudioSession (AVPlaybackRouteSelecting)
/*!
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlaybackSpeed.h 2023-07-14 22:57:34
@@ -23,7 +23,7 @@
@class AVPlaybackSpeed
@abstract Class used to define a user selectable playback speed in a playback UI.
*/
-API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos)
+API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos)
@interface AVPlaybackSpeed : NSObject
AVKIT_INIT_UNAVAILABLE
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerItem+AVKitAdditions.h 2023-07-14 22:57:34
@@ -28,14 +28,14 @@
- AVMetadataIdentifieriTunesMetadataTrackSubTitle
- AVMetadataCommonIdentifierDescription
*/
-@property (nonatomic, copy) NSArray<AVMetadataItem *> *externalMetadata API_AVAILABLE(ios(12.2), xros(1.0));
+@property (nonatomic, copy) NSArray<AVMetadataItem *> *externalMetadata API_AVAILABLE(ios(12.2), visionos(1.0));
/*!
@property interstitialTimeRanges
@abstract An array of time ranges that identifies interstitial content. Each element specifies the time range of the media occupied by the interstitials.
@discussion An interstitial time range identifies a range of an asset that is collapsed into a single dot on the timeline in the user interface. Interstitial content is typically not related to the video being played (e.g. advertisements). On iOS, interstitials must be defined by the stream, or by using an AVPlayerInterstitialEventController.
*/
-@property (nonatomic, readonly) NSArray<AVInterstitialTimeRange *> *interstitialTimeRanges API_AVAILABLE(ios(16.0), xros(1.0)) API_UNAVAILABLE(macCatalyst);
+@property (nonatomic, readonly) NSArray<AVInterstitialTimeRange *> *interstitialTimeRanges API_AVAILABLE(ios(16.0), visionos(1.0)) API_UNAVAILABLE(macCatalyst);
@end
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h 2023-06-24 04:15:14
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h 2023-07-15 00:34:23
@@ -29,7 +29,7 @@
typedef NS_ENUM(NSInteger, AVPlayerViewControllerSkippingBehavior) {
AVPlayerViewControllerSkippingBehaviorDefault = 0,
AVPlayerViewControllerSkippingBehaviorSkipItem
-} API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(macos, ios, watchos, xros);
+} API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(macos, ios, watchos, visionos);
@@ -47,7 +47,7 @@
@class AVPlayerViewController
@abstract AVPlayerViewController is a subclass of UIViewController that can be used to display the visual content of an AVPlayer object and the standard playback controls.
*/
-API_AVAILABLE(ios(8.0), tvos(9.0), xros(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(8.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos)
@interface AVPlayerViewController : UIViewController
/*!
@@ -67,7 +67,7 @@
@property showsTimecodes
@abstract Controls whether timecodes can be displayed in the playback UI when playing media with embedded timecodes. Default NO.
*/
-@property (nonatomic) BOOL showsTimecodes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, xros);
+@property (nonatomic) BOOL showsTimecodes API_AVAILABLE(ios(13.0)) API_UNAVAILABLE(tvos, visionos);
/*!
@property videoGravity
@@ -80,7 +80,7 @@
@property readyForDisplay
@abstract Boolean indicating that the first video frame has been made ready for display for the current item of the associated AVPlayer.
*/
-@property (nonatomic, readonly, getter = isReadyForDisplay) BOOL readyForDisplay API_UNAVAILABLE(watchos, xros);
+@property (nonatomic, readonly, getter = isReadyForDisplay) BOOL readyForDisplay API_UNAVAILABLE(watchos, visionos);
/*!
@property videoBounds
@@ -98,80 +98,80 @@
@property allowsPictureInPicturePlayback
@abstract Whether or not the receiver allows Picture in Picture playback. Default is YES.
*/
-@property (nonatomic) BOOL allowsPictureInPicturePlayback API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic) BOOL allowsPictureInPicturePlayback API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@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, xros);
+@property (nonatomic) BOOL allowsVideoFrameAnalysis API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, 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, xros);
+@property (nonatomic) AVVideoFrameAnalysisType videoFrameAnalysisTypes API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, 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, xros);
+@property (nonatomic, readonly) UIAction *toggleLookupAction API_AVAILABLE(ios(17.0)) API_UNAVAILABLE(tvos, watchos, macCatalyst, visionos);
/*!
@property canStartPictureInPictureAutomaticallyFromInline
@abstract Indicates whether Picture in Picture should be allowed to start automatically when transitioning to background when the receiver’s content is embedded inline. Default is NO.
@discussion This property must only be set to YES for content intended to be the user's primary focus.
*/
-@property (nonatomic) BOOL canStartPictureInPictureAutomaticallyFromInline API_AVAILABLE(ios(14.2)) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic) BOOL canStartPictureInPictureAutomaticallyFromInline API_AVAILABLE(ios(14.2), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@property updatesNowPlayingInfoCenter
@abstract Whether or not the now playing info center should be updated. Default is YES.
*/
-@property (nonatomic) BOOL updatesNowPlayingInfoCenter API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic) BOOL updatesNowPlayingInfoCenter API_AVAILABLE(ios(10.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@property entersFullScreenWhenPlaybackBegins
@abstract Whether or not the receiver automatically enters full screen when the play button is tapped. Default is NO.
@discussion If YES, the receiver will show a user interface tailored to this behavior.
*/
-@property (nonatomic) BOOL entersFullScreenWhenPlaybackBegins API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic) BOOL entersFullScreenWhenPlaybackBegins API_AVAILABLE(ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@property exitsFullScreenWhenPlaybackEnds
@abstract Whether or not the receiver automatically exits full screen when playback ends. Default is NO.
@discussion If multiple player items have been enqueued, the receiver exits fullscreen once no more items are remaining in the queue.
*/
-@property (nonatomic) BOOL exitsFullScreenWhenPlaybackEnds API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos);
+@property (nonatomic) BOOL exitsFullScreenWhenPlaybackEnds API_AVAILABLE(ios(11.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@property requiresLinearPlayback
@abstract Disables certain user operations, such as scanning, skipping, and scrubbing.
@discussion This can be used to enforce playback of mandatory content (such as legalese or advertisements).
*/
-@property (nonatomic) BOOL requiresLinearPlayback API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic) BOOL requiresLinearPlayback API_AVAILABLE(ios(11.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property appliesPreferredDisplayCriteriaAutomatically
@abstract Whether or not the receiver automatically communicates the preferredDisplayCriteria of the asset being played to the AVDisplayManager.
@discussion If set, then when the receiver plays an asset full-screen the screen's display criteria will be set to the preferred display criteria of that asset. The preferredDisplayCriteria will be reset to the default when full-screen playback is complete. This should not be changed during full-screen presentation unless the player or player item has been removed. This should not be used in multiple window scenes simultaneously.
*/
-@property (nonatomic) BOOL appliesPreferredDisplayCriteriaAutomatically API_AVAILABLE(tvos(11.2), xros(1.0)) API_UNAVAILABLE(ios, watchos);
+@property (nonatomic) BOOL appliesPreferredDisplayCriteriaAutomatically API_AVAILABLE(tvos(11.2), visionos(1.0)) API_UNAVAILABLE(ios, watchos);
/*!
@property pixelBufferAttributes
@abstract The client requirements for the visual output during playback.
@discussion Pixel buffer attribute keys are defined in <CoreVideo/CVPixelBuffer.h>
*/
-@property (nonatomic, copy, nullable) NSDictionary<NSString *,id> *pixelBufferAttributes API_AVAILABLE(ios(9.0), tvos(11.0)) API_UNAVAILABLE(watchos, xros);
+@property (nonatomic, copy, nullable) NSDictionary<NSString *,id> *pixelBufferAttributes API_AVAILABLE(ios(9.0), tvos(11.0)) API_UNAVAILABLE(watchos, visionos);
/*!
@property delegate
@abstract The receiver's delegate.
*/
-@property (nonatomic, weak, nullable) id <AVPlayerViewControllerDelegate> delegate API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, weak, nullable) id <AVPlayerViewControllerDelegate> delegate API_AVAILABLE(ios(9.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property speeds
@@ -179,14 +179,14 @@
@discussion By default this property will be set to the systemDefaultSpeeds class property. Setting this property to an empty list will hide the playback speed selection UI.
To set the currently selected playback speed programmatically, either set the defaultRate on the AVPlayer associated with this view controller or use the selectSpeed: method on AVPlayerViewController.
*/
-@property (nonatomic, copy) NSArray<AVPlaybackSpeed *> *speeds API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, copy) NSArray<AVPlaybackSpeed *> *speeds API_AVAILABLE(ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property selectedSpeed
@abstract The currently selected playback speed.
@discussion Changes to the associated AVPlayer's defaultRate will be reflected in this property and vice versa. If the associated AVPlayer's defaultRate is set to a value that does not match a speed in the speeds list property, the selected speed will be nil.
*/
-@property (nonatomic, readonly, nullable) AVPlaybackSpeed *selectedSpeed API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, readonly, nullable) AVPlaybackSpeed *selectedSpeed API_AVAILABLE(ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property selectSpeed
@@ -195,62 +195,62 @@
@abstract Sets the input AVPlaybackSpeed as the selected speed.
@discussion Calls to selectSpeed with AVPlaybackSpeeds not contained within the speeds property array will be ignored.
*/
-- (void)selectSpeed:(AVPlaybackSpeed *)speed API_AVAILABLE(ios(16.0), tvos(16.0)) API_UNAVAILABLE(watchos);
+- (void)selectSpeed:(AVPlaybackSpeed *)speed API_AVAILABLE(ios(16.0), tvos(16.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@property unobscuredContentGuide
@abstract A layout guide representing an area that will not be permanently obscured by fixed-position playback controls when they are visible.
*/
-@property (nonatomic, readonly) UILayoutGuide *unobscuredContentGuide API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic, readonly) UILayoutGuide *unobscuredContentGuide API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property allowedSubtitleOptionLanguages
@abstract An optional array of BCP 47 language codes to filter the subtitle options presented to the user.
@discussion When this property to nil (the default), all available subtitle options are presented. The "Auto" subtitle option is only available when this property is nil, and full subtitles are not required (see requiresFullSubtitles).
*/
-@property (nonatomic, copy, nullable) NSArray <NSString *> *allowedSubtitleOptionLanguages API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, xros); /* BCP47 language codes; nil allows all languages */
+@property (nonatomic, copy, nullable) NSArray <NSString *> *allowedSubtitleOptionLanguages API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, visionos); /* BCP47 language codes; nil allows all languages */
/*!
@property requiresFullSubtitles
@abstract Determines whether the user is given the option to turn off subtitles.
@discussion When set to YES, the subtitle options will not present "Off" or "Auto" as options, and subtitles will always be displayed (if they are available). The default is NO.
*/
-@property (nonatomic) BOOL requiresFullSubtitles API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic) BOOL requiresFullSubtitles API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property skippingBehavior
@abstract Specifies the behavior triggered by skipping gestures. AVPlayerViewControllerSkippingBehaviorDefault is the default value.
@discussion Use this property to override the default skipping behavior.
*/
-@property (nonatomic) AVPlayerViewControllerSkippingBehavior skippingBehavior API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic) AVPlayerViewControllerSkippingBehavior skippingBehavior API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property skipForwardEnabled
@abstract Indicates whether forward-skipping is available.
@discussion This property affects the appearance of the forward-skipping indicator. The behavior associated with forward-skipping is identified by the skippingBehavior property.
*/
-@property (nonatomic, getter = isSkipForwardEnabled) BOOL skipForwardEnabled API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic, getter = isSkipForwardEnabled) BOOL skipForwardEnabled API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property skipBackwardEnabled
@abstract Indicates whether backward-skipping is available.
@discussion This property affects the appearance of the backward-skipping indicator. The behavior associated with backward-skipping is identified by the skippingBehavior property.
*/
-@property (nonatomic, getter = isSkipBackwardEnabled) BOOL skipBackwardEnabled API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic, getter = isSkipBackwardEnabled) BOOL skipBackwardEnabled API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property playbackControlsIncludeTransportBar
@abstract Whether or not the receiver shows the transport bar and related controls during user interaction. Default is YES.
@discussion Clients can set this property to NO, and set showsPlaybackControls to YES, to selectively prevent the transport bar from being displayed duration user interaction. Changing the value of this property does not immediately change the visiblity of the transport bar.
*/
-@property (nonatomic) BOOL playbackControlsIncludeTransportBar API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic) BOOL playbackControlsIncludeTransportBar API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property playbackControlsIncludeInfoViews
@abstract Whether or not the receiver shows the views for video metadata, navigation markers, and playback settings when requested by the user. Default is YES.
@discussion Clients can set this property to NO, and showsPlaybackControls to YES, to selectively prevent the information and setting panels from being displayed. Changing the value of this property does not immediately change the visiblity of the info views.
*/
-@property (nonatomic) BOOL playbackControlsIncludeInfoViews API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic) BOOL playbackControlsIncludeInfoViews API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property transportBarIncludesTitleView
@@ -259,27 +259,27 @@
The title view requires metadata to be embedded in the media asset, or provided using externalMetadata property of AVPlayerItem. Supported keys are: AVMetadataCommonIdentifierTitle for title, AVMetadataIdentifieriTunesMetadataTrackSubTitle for subtitle.
See also showsPlaybackControls, and playbackControlsIncludeTransportBar.
*/
-@property (nonatomic) BOOL transportBarIncludesTitleView API_AVAILABLE(tvos(15.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic) BOOL transportBarIncludesTitleView API_AVAILABLE(tvos(15.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property customOverlayViewController
@abstract A view controller containing custom, possibly interactive content, to be presented over the player view controller upon user request.
@discussion The custom overlay view controller can be accessed by swiping up during playback when the transport bar is hidden, or in response to selecting a button when the transport bar is visible. Clients should provide a view controller here rather than installing their own swipe gesture recognizer.
*/
-@property (nonatomic, strong, nullable) UIViewController *customOverlayViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic, strong, nullable) UIViewController *customOverlayViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@property transportBarCustomMenuItems
@abstract An array of menu elements to be displayed in addition to standard built-in controls.
@discussion Use this property to provide client-specific controls above the transport bar. Only UIMenu and UIAction instance types are supported. Nested UIMenus are not supported. Unsupported types will be ignored.
*/
-@property (nonatomic, readwrite, copy) NSArray<__kindof UIMenuElement *> *transportBarCustomMenuItems API_AVAILABLE(tvos(15.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, xros);
+@property (nonatomic, readwrite, copy) NSArray<__kindof UIMenuElement *> *transportBarCustomMenuItems API_AVAILABLE(tvos(15.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, visionos);
/*!
@property requiresMonoscopicViewingMode
@abstract Whether or not monoscopic is the only permitted viewing mode. Default is NO.
*/
-@property (nonatomic) BOOL requiresMonoscopicViewingMode API_AVAILABLE(xros(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+@property (nonatomic) BOOL requiresMonoscopicViewingMode API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
@@ -291,14 +291,14 @@
@discussion Use this property to present one or more action controls during playback (for example, "Skip Intro"). The title and optionally the image of each action will be displayed by a control.
The action handler will be called when the user selects the control.
*/
-@property (nonatomic, copy) NSArray<UIAction *> *contextualActions API_AVAILABLE(tvos(15.0), xros(1.0)) API_UNAVAILABLE(ios, watchos, macCatalyst);
+@property (nonatomic, copy) NSArray<UIAction *> *contextualActions API_AVAILABLE(tvos(15.0), visionos(1.0)) API_UNAVAILABLE(ios, watchos, macCatalyst);
/*!
@property contextualActionsInfoView
@abstract A view shown adjacent to the contextual actions suitable for showing related information.
@discussion Use this view to add additional metadata, information and/or artwork as subviews.
*/
-@property (nonatomic, readonly) UIView *contextualActionsInfoView API_AVAILABLE(xros(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+@property (nonatomic, readonly) UIView *contextualActionsInfoView API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
/*!
@property contextualActionsPreviewImage
@@ -306,7 +306,7 @@
@discussion Use this to enhance the action with more context, e.g. for a "Jump back" button, show a preview frame of where in the movie the action will skip to.
This image is only shown if `AVPlayerViewController.contextualActions` contains exactly one action.
*/
-@property (nonatomic, nullable, copy) UIImage *contextualActionsPreviewImage API_AVAILABLE(xros(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+@property (nonatomic, nullable, copy) UIImage *contextualActionsPreviewImage API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
// MARK: - Info Panel Customization
@@ -316,14 +316,14 @@
@abstract An array of view controllers to be displayed as tabs.
@discussion Use this property to provide tabs for client-specific content in the playback UI. The order of the view controllers in the array is also the order in which they are inserted in the tab bar. The display tab titles will be taken from the view controllers. Implement -preferredContentSize to provide the desired view size (subject to maximum height constraints).
*/
-@property (nonatomic, copy) NSArray <UIViewController *> *customInfoViewControllers API_AVAILABLE(tvos(15.0), xros(1.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, macCatalyst);
+@property (nonatomic, copy) NSArray <UIViewController *> *customInfoViewControllers API_AVAILABLE(tvos(15.0), visionos(1.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, macCatalyst);
/*!
@property infoViewActions
@abstract Actions to be displayed in the content info view.
@discussion Use this property to provide up to 2 custom action controls displayed in the content info view. Default value is an array containing a single "Play From Beginning" action.
*/
-@property (nonatomic, copy, null_resettable) NSArray<UIAction *> *infoViewActions API_AVAILABLE(tvos(15.0), xros(1.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, macCatalyst);
+@property (nonatomic, copy, null_resettable) NSArray<UIAction *> *infoViewActions API_AVAILABLE(tvos(15.0), visionos(1.0)) API_UNAVAILABLE(ios) API_UNAVAILABLE(watchos, macCatalyst);
// MARK: - Trim
@@ -334,7 +334,7 @@
@discussion This may return `false`, for example if the underlying asset is delivered via HLS, or if the content is protected.
Consult this property to enable / disable the control which initiates trimming.
*/
-@property (readonly) BOOL canBeginTrimming API_AVAILABLE(xros(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+@property (readonly) BOOL canBeginTrimming API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
/*!
@method beginTrimmingWithCompletionHandler:
@@ -345,7 +345,7 @@
@discussion Once trimming is completed the trimmed range can be accessed via the `forwardPlaybackEndTime` and `reversePlaybackEndTime` properties on the `AVPlayerItem`.
Documentation on how to export a new copy of the asset via `AVAssetExportSession` after trimming can be found at https://developer.apple.com.
*/
-- (void)beginTrimmingWithCompletionHandler:(nullable void (^)(BOOL success))handler API_AVAILABLE(xros(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
+- (void)beginTrimmingWithCompletionHandler:(nullable void (^)(BOOL success))handler API_AVAILABLE(visionos(1.0)) API_UNAVAILABLE(ios, tvos, watchos, macCatalyst);
@end
@@ -356,7 +356,7 @@
@protocol AVPlayerViewControllerDelegate
@abstract A protocol for delegates of AVPlayerViewController.
*/
-API_AVAILABLE(ios(9.0), tvos(9.0), xros(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos)
+API_AVAILABLE(ios(9.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos) API_UNAVAILABLE(macos)
@protocol AVPlayerViewControllerDelegate <NSObject>
@optional
@@ -369,7 +369,7 @@
@abstract Informs the delegate that AVPlayerViewController is about to start displaying its contents full screen.
@discussion This method will not be called if a playerViewController is embedded inside a view controller that is being presented. If the receiver is embedded in a parent view controller, its content will be presented in a new full screen view controller and perhaps in a new window. Use the coordinator to determine whether the playerViewController or its full screen counterpart is being transitioned. Transitions can be interrupted -- use a completion block of one of the coordinator's animation methods to determine whether it has completed.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController willBeginFullScreenPresentationWithAnimationCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(tvos, watchos);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController willBeginFullScreenPresentationWithAnimationCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator API_AVAILABLE(ios(12.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@method playerViewController:willEndFullScreenPresentationWithAnimationCoordinator:
@@ -380,7 +380,7 @@
@abstract Informs the delegate that AVPlayerViewController is about to stop displaying its contents full screen.
@discussion See the discussion of -[AVPlayerViewControllerDelegatePrivate playerViewController:willBeginFullScreenPresentationWithAnimationCoordinator:].
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController willEndFullScreenPresentationWithAnimationCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator API_AVAILABLE(ios(12.0)) API_UNAVAILABLE(tvos, watchos);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController willEndFullScreenPresentationWithAnimationCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator API_AVAILABLE(ios(12.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@method playerViewController:restoreUserInterfaceForFullScreenExitWithCompletionHandler:
@@ -390,7 +390,7 @@
The completion handler the delegate must call after restoring the interface for an exit full screen transition.
@abstract The delegate can implement this method to restore the user interface before exiting fullscreen.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController restoreUserInterfaceForFullScreenExitWithCompletionHandler:(void (^)(BOOL restored))completionHandler API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(tvos, watchos);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController restoreUserInterfaceForFullScreenExitWithCompletionHandler:(void (^)(BOOL restored))completionHandler API_AVAILABLE(ios(15.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@method playerViewControllerShouldDismiss:
@@ -399,7 +399,7 @@
@abstract The delegate can implement this method to be notified when the player view controller is about to be dismissed.
@discussion The player view controller will dismiss itself (with animation) if allowed and if it is possible to do so automatically. If the player view controller is embedded in another view, it may be necessary for the delegate to implement dismissal.
*/
-- (BOOL)playerViewControllerShouldDismiss:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+- (BOOL)playerViewControllerShouldDismiss:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@method playerViewControllerWillBeginDismissalTransition:
@@ -407,7 +407,7 @@
The player view controller.
@abstract The delegate can implement this method to be notified when the player view controller is being dismissed and is about to start the dismissal transition.
*/
-- (void)playerViewControllerWillBeginDismissalTransition:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+- (void)playerViewControllerWillBeginDismissalTransition:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@method playerViewControllerDidEndDismissalTransition:
@@ -415,7 +415,7 @@
The player view controller.
@abstract The delegate can implement this method to be notified when the player view controller is being dismissed and has completed the the dismissal transition.
*/
-- (void)playerViewControllerDidEndDismissalTransition:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, xros);
+- (void)playerViewControllerDidEndDismissalTransition:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, visionos);
/*!
@method playerViewControllerWillStartPictureInPicture:
@@ -423,7 +423,7 @@
The player view controller.
@abstract Delegate can implement this method to be notified when Picture in Picture will start.
*/
-- (void)playerViewControllerWillStartPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewControllerWillStartPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewControllerDidStartPictureInPicture:
@@ -431,7 +431,7 @@
The player view controller.
@abstract Delegate can implement this method to be notified when Picture in Picture did start.
*/
-- (void)playerViewControllerDidStartPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewControllerDidStartPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewController:failedToStartPictureInPictureWithError:
@@ -441,7 +441,7 @@
An error describing why it failed.
@abstract Delegate can implement this method to be notified when Picture in Picture failed to start.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController failedToStartPictureInPictureWithError:(NSError *)error API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController failedToStartPictureInPictureWithError:(NSError *)error API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewControllerWillStopPictureInPicture:
@@ -449,7 +449,7 @@
The player view controller.
@abstract Delegate can implement this method to be notified when Picture in Picture will stop.
*/
-- (void)playerViewControllerWillStopPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewControllerWillStopPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewControllerDidStopPictureInPicture:
@@ -457,7 +457,7 @@
The player view controller.
@abstract Delegate can implement this method to be notified when Picture in Picture did stop.
*/
-- (void)playerViewControllerDidStopPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewControllerDidStopPictureInPicture:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:
@@ -465,7 +465,7 @@
The player view controller.
@abstract Delegate can implement this method and return NO to prevent player view controller from automatically being dismissed when Picture in Picture starts.
*/
-- (BOOL)playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (BOOL)playerViewControllerShouldAutomaticallyDismissAtPictureInPictureStart:(AVPlayerViewController *)playerViewController API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewController:restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:
@@ -475,7 +475,7 @@
The completion handler the delegate needs to call after restore.
@abstract Delegate can implement this method to restore the user interface before Picture in Picture stops.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:(void (^)(BOOL restored))completionHandler API_AVAILABLE(ios(9.0), tvos(14.0)) API_UNAVAILABLE(watchos);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController restoreUserInterfaceForPictureInPictureStopWithCompletionHandler:(void (^)(BOOL restored))completionHandler API_AVAILABLE(ios(9.0), tvos(14.0), visionos(1.0)) API_UNAVAILABLE(watchos);
/*!
@method playerViewController:willPresentInterstitialTimeRange:
@@ -485,7 +485,7 @@
The interstitial time range.
@abstract The delegate can implement this method to be notified when the player view controller is about to present interstitial content to the user.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController willPresentInterstitialTimeRange:(AVInterstitialTimeRange *)interstitial API_AVAILABLE(ios(16.0), tvos(9.0)) API_UNAVAILABLE(watchos, macCatalyst);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController willPresentInterstitialTimeRange:(AVInterstitialTimeRange *)interstitial API_AVAILABLE(ios(16.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos, macCatalyst);
/*!
@method playerViewController:didPresentInterstitialTimeRange:
@@ -495,7 +495,7 @@
The interstitial time range.
@abstract The delegate can implement this method to be notified when the player view controller has finished presenting interstitial content.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController didPresentInterstitialTimeRange:(AVInterstitialTimeRange *)interstitial API_AVAILABLE(ios(16.0), tvos(9.0)) API_UNAVAILABLE(watchos, macCatalyst);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController didPresentInterstitialTimeRange:(AVInterstitialTimeRange *)interstitial API_AVAILABLE(ios(16.0), tvos(9.0), visionos(1.0)) API_UNAVAILABLE(watchos, macCatalyst);
/*!
@method playerViewController:willResumePlaybackAfterUserNavigatedFromTime:toTime:
@@ -508,7 +508,7 @@
@abstract The delegate can implement this method to be notified when the user has skipped, scrubbed, or otherwise navigated to a new time, and playback is about to start at the new time.
@discussion Compare with AVPlayerItemTimeJumpedNotification; this delegate method is delivered for (and only for) user-initiated changes to the playback time. If the user skips/scrubs several times before resuming playback, this method is only called once.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController willResumePlaybackAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController willResumePlaybackAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:timeToSeekAfterUserNavigatedFromTime:toTime:
@@ -521,7 +521,7 @@
@abstract The delegate can implement this method to be notified when the user has skipped, scrubbed, or otherwise navigated to a new time, and wants to resume playback at the target time.
@discussion This delegate method is delivered for (and only for) user-initiated changes to the playback time. If the user skips/scrubs several times before resuming playback, this method is only called once. This method should not be used to disable scrubbing; use the requiresLinearPlayback property of the AVPlayerViewController instead.
*/
-- (CMTime)playerViewController:(AVPlayerViewController *)playerViewController timeToSeekAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (CMTime)playerViewController:(AVPlayerViewController *)playerViewController timeToSeekAfterUserNavigatedFromTime:(CMTime)oldTime toTime:(CMTime)targetTime API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:didSelectMediaSelectionOption:inMediaSelectionGroup:
@@ -534,7 +534,7 @@
@abstract The delegate can implement this method to be notified when the user has selected a option from a media selection group or deselected all of the options in the group.
@discussion The media selection option will be nil when subtitles are turned off.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController didSelectMediaSelectionOption:(nullable AVMediaSelectionOption *)mediaSelectionOption inMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController didSelectMediaSelectionOption:(nullable AVMediaSelectionOption *)mediaSelectionOption inMediaSelectionGroup:(AVMediaSelectionGroup *)mediaSelectionGroup API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:didSelectExternalSubtitleOptionLanguage:
@@ -545,7 +545,7 @@
@abstract The delegate can implement this method to be notified when the user has selected a specific subtitle option.
@discussion This method is only called for external subtitle languages specified by the externalSubtitleOptionLanguages property of AVPlayerItem (see AVKit/AVPlayerItem.h). For all other options, playerViewController:didSelectMediaSelectionOption:inMediaSelectionGroup: will be called instead. The delegate is responsible for displaying the corresponding subtitles.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController didSelectExternalSubtitleOptionLanguage:(NSString *)language API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros) NS_SWIFT_UNAVAILABLE("External subtitle options are not supported");
+- (void)playerViewController:(AVPlayerViewController *)playerViewController didSelectExternalSubtitleOptionLanguage:(NSString *)language API_AVAILABLE(tvos(9.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos) NS_SWIFT_UNAVAILABLE("External subtitle options are not supported");
/*!
@method skipToNextItemForPlayerViewController:
@@ -553,7 +553,7 @@
The player view controller.
@discussion Clients that request non-default skipping behavior should implement this method. The delegate should update the playerViewController’s player to play the next player item.
*/
-- (void)skipToNextItemForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)skipToNextItemForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method skipToPreviousItemForPlayerViewController:
@@ -561,7 +561,7 @@
The player view controller.
@discussion The delegate should update the playerViewController’s player to play the previous player item.
*/
-- (void)skipToPreviousItemForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)skipToPreviousItemForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:skipToNextChannel:
@@ -572,7 +572,7 @@
@abstract Should change the player item to reflect the content of the next channel, and call the completion block when ready.
@discussion Each call to this method should advance one channel relative to the previous request, even if the prior request has not yet completed.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController skipToNextChannel:(void (^)(BOOL success))completion API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros) NS_SWIFT_ASYNC_NAME(playerViewControllerSkipToNextChannel(_:));
+- (void)playerViewController:(AVPlayerViewController *)playerViewController skipToNextChannel:(void (^)(BOOL success))completion API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos) NS_SWIFT_ASYNC_NAME(playerViewControllerSkipToNextChannel(_:));
/*!
@method playerViewController:skipToPreviousChannel:
@@ -583,7 +583,7 @@
@abstract Should change the player item to reflect the content of the previous channel, and call the completion block when ready.
@discussion Each call to this method should advance one channel relative to the previous request, even if the prior request has not yet completed.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController skipToPreviousChannel:(void (^)(BOOL success))completion API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros) NS_SWIFT_ASYNC_NAME(playerViewControllerSkipToPreviousChannel(_:));
+- (void)playerViewController:(AVPlayerViewController *)playerViewController skipToPreviousChannel:(void (^)(BOOL success))completion API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos) NS_SWIFT_ASYNC_NAME(playerViewControllerSkipToPreviousChannel(_:));
/*!
@method nextChannelInterstitialViewControllerForPlayerViewController:
@@ -593,7 +593,7 @@
@abstract Clients should provide a view controller describing the layout of the channel interstice.
@discussion This method will be called when the user initiates, but has not yet committed, a change in channel. Clients must also implement playerViewController:skipToNextChannel:. This method may be called while a previous channel interstice is visible (on screen, or transitioning).
*/
-- (UIViewController *)nextChannelInterstitialViewControllerForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (UIViewController *)nextChannelInterstitialViewControllerForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method previousChannelInterstitialViewControllerForPlayerViewController:
@@ -603,28 +603,28 @@
@abstract Clients should provide a view controller describing the layout of the channel interstice.
@discussion This method will be called when the user initiates, but has not yet committed, a change in channel. Clients must also implement playerViewController:skipToPreviousChannel:. This method may be called while a previous channel interstice is visible (on screen, or transitioning).
*/
-- (UIViewController *)previousChannelInterstitialViewControllerForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (UIViewController *)previousChannelInterstitialViewControllerForPlayerViewController:(AVPlayerViewController *)playerViewController API_AVAILABLE(tvos(13.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:shouldPresentContentProposal:
@abstract Should return YES, if implemented, to allow presentation of the content proposal.
@discussion The delegate may wish to create a custom view controller when this is called.
*/
-- (BOOL)playerViewController:(AVPlayerViewController *)playerViewController shouldPresentContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (BOOL)playerViewController:(AVPlayerViewController *)playerViewController shouldPresentContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:didAcceptContentProposal:
@abstract The delegate should replace the current player item with the next item.
@discussion Clients must implement this method when setting the nextContentProposal property of AVPlayerViewController. The delegate should create a new AVPlayerItem and update the AVPlayer or AVQueuePlayer.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController didAcceptContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController didAcceptContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:didRejectContentProposal:
@abstract The delegate should react to the user rejecting the content proposal, typically by dismissing the player view controller.
@discussion If the client does not implement this method, the player view controller will be dismissed.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController didRejectContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController didRejectContentProposal:(AVContentProposal *)proposal API_AVAILABLE(tvos(10.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
/*!
@method playerViewController:willTransitionToVisibilityOfTransportBar:withAnimationCoordinator:
@@ -637,14 +637,14 @@
An object conforming to AVPlayerViewControllerAnimationCoordinator.
@discussion Use the animation coordinator to synchronize animations with transport bar visibility.
*/
-- (void)playerViewController:(AVPlayerViewController *)playerViewController willTransitionToVisibilityOfTransportBar:(BOOL)visible withAnimationCoordinator:(id<AVPlayerViewControllerAnimationCoordinator>)coordinator API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, xros);
+- (void)playerViewController:(AVPlayerViewController *)playerViewController willTransitionToVisibilityOfTransportBar:(BOOL)visible withAnimationCoordinator:(id<AVPlayerViewControllerAnimationCoordinator>)coordinator API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, watchos, macCatalyst, visionos);
@end
// MARK: -
-API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, xros) API_UNAVAILABLE(watchos)
+API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(ios, visionos) API_UNAVAILABLE(watchos)
@protocol AVPlayerViewControllerAnimationCoordinator <NSObject>
/*!
@method addCoordinatedAnimations:completion:
@@ -664,7 +664,7 @@
@abstract A view controller to be displayed alongside system-provided info and settings panels.
@discussion Use this property to provide client-specific content and controls in an additional info view. Implement -preferredContentSize to provide the desired view size.
*/
-@property (nonatomic, strong, nullable) UIViewController *customInfoViewController API_DEPRECATED_WITH_REPLACEMENT("Use customInfoViewControllers", tvos(11.0, 15.0)) API_UNAVAILABLE(ios, watchos, xros);
+@property (nonatomic, strong, nullable) UIViewController *customInfoViewController API_DEPRECATED_WITH_REPLACEMENT("Use customInfoViewControllers", tvos(11.0, 15.0)) API_UNAVAILABLE(ios, watchos, visionos);
@end
diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h 2023-06-24 03:50:50
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVRoutePickerView.h 2023-07-15 03:07:27
@@ -59,7 +59,7 @@
AVRoutePickerViewButtonStateNormalHighlighted = 1,
AVRoutePickerViewButtonStateActive = 2,
AVRoutePickerViewButtonStateActiveHighlighted = 3
-} NS_SWIFT_NAME(AVRoutePickerView.ButtonState) API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+} NS_SWIFT_NAME(AVRoutePickerView.ButtonState) API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
@@ -73,7 +73,7 @@
@discussion Media from an AVPlayer, or from an AVSampleBufferAudioRenderer on iOS and tvOS, can be routed to compatible AirPlay destinations.
*/
#if !TARGET_IS_AVKITMACHELPER
-API_AVAILABLE(macos(10.15), ios(11.0), tvos(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(watchos)
+API_AVAILABLE(macos(10.15), ios(11.0), tvos(11.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
#endif // !TARGET_IS_AVKITMACHELPER
@interface AVRoutePickerView : AVKitPlatformViewClass
@@ -88,7 +88,7 @@
@property player
@abstract The player for which to perform routing operations.
*/
-@property (nonatomic, strong, nullable) AVPlayer *player API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+@property (nonatomic, strong, nullable) AVPlayer *player API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/**
@method routePickerButtonColorForState:
@@ -96,7 +96,7 @@
The state for which to get the picker button color.
@abstract Returns the color of the picker button for a given state.
*/
-- (AVKitPlatformColorClass *)routePickerButtonColorForState:(AVRoutePickerViewButtonState)state API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+- (AVKitPlatformColorClass *)routePickerButtonColorForState:(AVRoutePickerViewButtonState)state API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/**
@method setRoutePickerButtonColor:forState:
@@ -107,19 +107,19 @@
@abstract Sets the color of the picker button for a given state.
@discussion If set to nil, the default color will be used for the given state.
*/
-- (void)setRoutePickerButtonColor:(nullable AVKitPlatformColorClass *)color forState:(AVRoutePickerViewButtonState)state API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+- (void)setRoutePickerButtonColor:(nullable AVKitPlatformColorClass *)color forState:(AVRoutePickerViewButtonState)state API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/**
@property routePickerButtonBordered
@abstract Whether or not the picker button has a border. Default is YES.
*/
-@property (nonatomic, getter = isRoutePickerButtonBordered) BOOL routePickerButtonBordered API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, xros);
+@property (nonatomic, getter = isRoutePickerButtonBordered) BOOL routePickerButtonBordered API_AVAILABLE(macos(10.15)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/**
@property activeTintColor
@abstract The view's tint color when AirPlay is active.
*/
-@property (nonatomic, strong, null_resettable) AVKitPlatformColorClass *activeTintColor API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(macos, watchos);
+@property (nonatomic, strong, null_resettable) AVKitPlatformColorClass *activeTintColor API_AVAILABLE(ios(11.0), tvos(11.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, watchos);
/**
@constant AVRoutePickerViewButtonStyleSystem
@@ -133,25 +133,25 @@
AVRoutePickerViewButtonStyleSystem,
AVRoutePickerViewButtonStylePlain,
AVRoutePickerViewButtonStyleCustom
-} API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(macos, ios, watchos, xros);
+} API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(macos, ios, watchos, visionos);
/**
@property routePickerButtonStyle
@abstract The route picker button style.
*/
-@property (nonatomic) AVRoutePickerViewButtonStyle routePickerButtonStyle API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(macos, ios, watchos, xros);
+@property (nonatomic) AVRoutePickerViewButtonStyle routePickerButtonStyle API_AVAILABLE(tvos(11.0)) API_UNAVAILABLE(macos, ios, watchos, visionos);
/**
@property prioritizesVideoDevices
@abstract Whether or not the route picker should sort video capable output devices to the top of the list. Setting this to YES will cause the route picker view to show a videocentric icon.
*/
-@property (nonatomic) BOOL prioritizesVideoDevices API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, xros) API_UNAVAILABLE(watchos);
+@property (nonatomic) BOOL prioritizesVideoDevices API_AVAILABLE(ios(13.0), tvos(13.0)) API_UNAVAILABLE(macos, visionos) API_UNAVAILABLE(watchos);
/**
@property customRoutingController
@abstract A controller which enables connection to 3rd party devices (non-airplay) via the picker.
*/
-@property (nonatomic, retain, nullable) AVCustomRoutingController *customRoutingController API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos, xros);
+@property (nonatomic, retain, nullable) AVCustomRoutingController *customRoutingController API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos, visionos);
@end
@@ -160,7 +160,7 @@
@protocol AVRoutePickerViewDelegate
@abstract Defines an interface for delegates of AVRoutePickerView.
*/
-API_AVAILABLE(macos(10.15), ios(11.0), tvos(11.0)) API_UNAVAILABLE(xros) API_UNAVAILABLE(watchos)
+API_AVAILABLE(macos(10.15), ios(11.0), tvos(11.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
@protocol AVRoutePickerViewDelegate <NSObject>
@optional
- 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