-
Notifications
You must be signed in to change notification settings - Fork 516
AVKit iOS xcode15.1 b2
Alex Soto edited this page Oct 26, 2023
·
1 revision
#AVKit.framework
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEvent.h 2023-10-16 02:16:45
@@ -0,0 +1,62 @@
+/*
+ File: AVCaptureEvent.h
+
+ Framework: AVKit
+
+ Copyright © 2022-2023 Apple Inc. All rights reserved.
+
+ To report bugs, go to: http://developer.apple.com/bugreporter/
+
+ */
+
+
+#import <Foundation/Foundation.h>
+
+#import <AVKit/AVKitDefines.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class AVCaptureEvent;
+
+
+// MARK: -
+
+/*!
+ @enum AVCaptureEventPhase
+ @abstract An enum describing the phase of a capture event.
+ @constant AVCaptureEventPhaseBegan
+ A phase sent at the beginning of a capture event.
+ @constant AVCaptureEventPhaseEnded
+ A phase sent at the end of a capture event.
+ @constant AVCaptureEventPhaseCancelled
+ A phase sent when a capture event is cancelled.s
+ */
+typedef NS_ENUM(NSUInteger, AVCaptureEventPhase) {
+ AVCaptureEventPhaseBegan,
+ AVCaptureEventPhaseEnded,
+ AVCaptureEventPhaseCancelled,
+} API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos);
+
+
+// MARK: -
+
+/*!
+ @interface AVCaptureEvent
+ @abstract An object describing a system hardware capture event.
+ */
+API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos)
+@interface AVCaptureEvent : NSObject
+
+AVKIT_INIT_UNAVAILABLE
+
+
+/*!
+ @property phase
+ @abstract The current phase of this capture event.
+ */
+@property (nonatomic, readonly) AVCaptureEventPhase phase;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h 1969-12-31 19:00:00
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVCaptureEventInteraction.h 2023-10-16 02:16:45
@@ -0,0 +1,68 @@
+/*
+ File: AVCaptureEventInteraction.h
+
+ Framework: AVKit
+
+ Copyright © 2022-2023 Apple Inc. All rights reserved.
+
+ To report bugs, go to: http://developer.apple.com/bugreporter/
+
+ */
+
+
+#import <Foundation/Foundation.h>
+
+#import <AVKit/AVKitDefines.h>
+#import <AVKit/AVCaptureEvent.h>
+#import <UIKit/UIInteraction.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+// MARK: -
+
+/*!
+ @interface AVCaptureEventInteraction
+ @abstract A UIInteraction used to register actions triggered when the hardware capture buttons are pressed.
+ @discussion Events may or may not be sent to applications based on the current system state. Backgrounded applications will not receive events, additionally events will only be sent to applications that are actively using the camera. AVCaptureEventInteraction should be attached to views in the responder chain.
+
+ This API is for media capture use cases only.
+ */
+API_AVAILABLE(ios(17.2)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, tvos, watchos)
+@interface AVCaptureEventInteraction : NSObject <UIInteraction>
+
+AVKIT_INIT_UNAVAILABLE
+
+
+/*!
+ @method initWithEventHandler:
+ @param handler
+ An event handler called when either the primary to secondary buttons are pressed.
+ @returns An AVCaptureEventInteraction.
+ @abstract Initializer for an AVCaptureEventInteraction.
+ */
+- (instancetype)initWithEventHandler:(void (^)(AVCaptureEvent *event))handler NS_SWIFT_NAME(init(handler:));
+
+/*!
+ @method initWithPrimaryEventHandler:secondaryEventHandler:
+ @param primaryHandler
+ An event handler called when the primary capture button is pressed.
+ @param secondaryHandler
+ An event handler called when the secondary capture button is pressed.
+ @returns An AVCaptureEventInteraction.
+ @abstract Initializer for an AVCaptureEventInteraction.
+ */
+- (instancetype)initWithPrimaryEventHandler:(void (^)(AVCaptureEvent *event))primaryHandler secondaryEventHandler:(void (^)(AVCaptureEvent *event))secondaryHandler NS_SWIFT_NAME(init(primary:secondary:));
+
+
+/*!
+ @property enabled
+ @abstract A boolean value indicating whether this capture event interaction is active or not.
+
+ Set this value to NO, when your application cannot or will not respond to the action callbacks to avoid non-interactive hardware buttons.
+ */
+@property (nonatomic, readwrite, getter=isEnabled) BOOL enabled;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2023-08-11 06:23:46
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKit.h 2023-10-16 02:16:45
@@ -39,6 +39,8 @@
#if TARGET_OS_IOS && !TARGET_OS_VISION
+#import <AVKit/AVCaptureEventInteraction.h>
+#import <AVKit/AVCaptureEvent.h>
#import <AVKit/AVError.h>
#import <AVKit/AVPictureInPictureController.h>
#import <AVKit/AVPictureInPictureController_AVSampleBufferDisplayLayerSupport.h>
@@ -79,6 +81,8 @@
#if TARGET_OS_VISION
#import <AVKit/AVDisplayManager.h>
+#import <AVKit/AVCaptureEventInteraction.h>
+#import <AVKit/AVCaptureEvent.h>
#import <AVKit/AVError.h>
#import <AVKit/AVInterstitialTimeRange.h>
#import <AVKit/AVPictureInPictureController.h>
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h 2023-08-11 06:23:46
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVKitDefines.h 2023-10-16 02:16:45
@@ -10,6 +10,7 @@
#import <Availability.h>
#import <TargetConditionals.h>
+
#ifdef __cplusplus
#define AVKIT_EXTERN extern "C" __attribute__((visibility ("default")))
#else
@@ -19,18 +20,36 @@
#if !TARGET_IS_AVKITMACHELPER
#define AVKIT_ONLY_EXTERN AVKIT_EXTERN
-#define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
#define AVKIT_ONLY_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
+#define AVKIT_ONLY_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
+
#define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...) API_DEPRECATED_WITH_REPLACEMENT(__VA_ARGS__)
#else
#define AVKIT_ONLY_EXTERN extern __attribute__((visibility ("hidden")))
+
#define AVKIT_ONLY_API_AVAILABLE(...)
+#define AVKIT_ONLY_API_UNAVAILABLE(...)
#define AVKIT_ONLY_API_DEPRECATED_WITH_REPLACEMENT(...)
-#endif
+#endif // !TARGET_IS_AVKITMACHELPER
+
+
+#if !TARGET_OS_VISION
+#define AVKIT_EXCLUDE_VISION_OS_EXTERN AVKIT_EXTERN
+
+#define AVKIT_EXCLUDE_VISION_OS_API_AVAILABLE(...) API_AVAILABLE(__VA_ARGS__)
+#define AVKIT_EXCLUDE_VISION_OS_API_UNAVAILABLE(...) API_UNAVAILABLE(__VA_ARGS__)
+
+#else
+#define AVKIT_EXCLUDE_VISION_OS_EXTERN extern __attribute__((visibility ("hidden")))
+
+#define AVKIT_EXCLUDE_VISION_OS_API_AVAILABLE(...)
+#define AVKIT_EXCLUDE_VISION_OS_API_UNAVAILABLE(...)
+
+#endif // !TARGET_OS_VISION
#define PLATFORM_SUPPORTS_AVKITCORE (TARGET_OS_OSX || TARGET_OS_MACCATALYST)
diff -ruN /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h
--- /Applications/Xcode_15.0.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h 2023-08-11 06:23:46
+++ /Applications/Xcode_15.1.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/AVKit.framework/Headers/AVPlayerViewController.h 2023-09-29 01:23:44
@@ -259,7 +259,7 @@
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, visionos);
+@property (nonatomic) BOOL transportBarIncludesTitleView API_AVAILABLE(tvos(15.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(ios, watchos);
/*!
@property customOverlayViewController
- 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