[AVKit] Implement Xcode 15 + Xcode 16.0 beta 1, beta 2 and beta 3 changes. (#20849)
Note: there were no changes in beta 2 or beta 3.
This commit is contained in:
Родитель
451d2dd71e
Коммит
20a18e37c3
|
@ -35,6 +35,7 @@ namespace AVKit {
|
|||
ContentRatingUnknown = -1100,
|
||||
ContentDisallowedByPasscode = -1101,
|
||||
ContentDisallowedByProfile = -1102,
|
||||
RecordingFailed = -1200,
|
||||
}
|
||||
|
||||
[NoWatch]
|
||||
|
|
20
src/avkit.cs
20
src/avkit.cs
|
@ -50,6 +50,18 @@ using NativeHandle = System.IntPtr;
|
|||
#endif
|
||||
|
||||
namespace AVKit {
|
||||
[NoWatch, NoTV, Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
|
||||
[Native]
|
||||
enum AVVideoFrameAnalysisType : ulong {
|
||||
AVVideoFrameAnalysisTypeNone = 0,
|
||||
AVVideoFrameAnalysisTypeDefault = 1 << 0,
|
||||
AVVideoFrameAnalysisTypeText = 1 << 1,
|
||||
AVVideoFrameAnalysisTypeSubject = 1 << 2,
|
||||
AVVideoFrameAnalysisTypeVisualSearch = 1 << 3,
|
||||
[NoMac, NoMacCatalyst]
|
||||
AVVideoFrameAnalysisTypeMachineReadableCode = 1 << 4,
|
||||
}
|
||||
|
||||
/// <summary>Provides video playback in a floating, resizable window on larger devices.</summary>
|
||||
///
|
||||
/// <related type="externalDocumentation" href="https://developer.apple.com/library/prerelease/ios/documentation/AVKit/Reference/AVPictureInPictureControllerDelegate_Protocol/index.html#//apple_ref/doc/uid/TP40016161">Apple documentation for <c>AVPictureInPictureController</c></related>
|
||||
|
@ -365,6 +377,14 @@ namespace AVKit {
|
|||
[iOS (16, 0), MacCatalyst (16, 0), NoMac, NoWatch, TV (16, 0)]
|
||||
[Export ("selectSpeed:")]
|
||||
void SelectSpeed (AVPlaybackSpeed speed);
|
||||
|
||||
[iOS (17, 0), MacCatalyst (18, 0), NoTV, NoWatch, NoMac]
|
||||
[Export ("videoFrameAnalysisTypes")]
|
||||
AVVideoFrameAnalysisType VideoFrameAnalysisTypes { get; set; }
|
||||
|
||||
[iOS (17, 0), MacCatalyst (18, 0), NoTV, NoWatch, NoMac]
|
||||
[Export ("toggleLookupAction")]
|
||||
UIAction ToggleLookupAction { get; }
|
||||
}
|
||||
|
||||
/// <summary>Interface representing the required methods (if any) of the protocol <see cref="T:AVKit.AVPlayerViewControllerDelegate" />.</summary>
|
||||
|
|
|
@ -5571,6 +5571,7 @@ F:AVKit.AVKitError.ContentDisallowedByProfile
|
|||
F:AVKit.AVKitError.ContentRatingUnknown
|
||||
F:AVKit.AVKitError.None
|
||||
F:AVKit.AVKitError.PictureInPictureStartFailed
|
||||
F:AVKit.AVKitError.RecordingFailed
|
||||
F:AVKit.AVKitError.Unknown
|
||||
F:AVKit.AVPlayerViewControlsStyle.Default
|
||||
F:AVKit.AVPlayerViewControlsStyle.Floating
|
||||
|
@ -5586,6 +5587,12 @@ F:AVKit.AVRoutePickerViewButtonState.NormalHighlighted
|
|||
F:AVKit.AVRoutePickerViewButtonStyle.Custom
|
||||
F:AVKit.AVRoutePickerViewButtonStyle.Plain
|
||||
F:AVKit.AVRoutePickerViewButtonStyle.System
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeDefault
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeMachineReadableCode
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeNone
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeSubject
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeText
|
||||
F:AVKit.AVVideoFrameAnalysisType.AVVideoFrameAnalysisTypeVisualSearch
|
||||
F:AVRouting.AVCustomRoutingEventReason.Activate
|
||||
F:AVRouting.AVCustomRoutingEventReason.Deactivate
|
||||
F:AVRouting.AVCustomRoutingEventReason.Reactivate
|
||||
|
@ -57782,11 +57789,13 @@ P:AVKit.AVPlayerViewController.SkipBackwardEnabled
|
|||
P:AVKit.AVPlayerViewController.SkipForwardEnabled
|
||||
P:AVKit.AVPlayerViewController.SkippingBehavior
|
||||
P:AVKit.AVPlayerViewController.Speeds
|
||||
P:AVKit.AVPlayerViewController.ToggleLookupAction
|
||||
P:AVKit.AVPlayerViewController.TransportBarCustomMenuItems
|
||||
P:AVKit.AVPlayerViewController.TransportBarIncludesTitleView
|
||||
P:AVKit.AVPlayerViewController.UnobscuredContentGuide
|
||||
P:AVKit.AVPlayerViewController.UpdatesNowPlayingInfoCenter
|
||||
P:AVKit.AVPlayerViewController.VideoBounds
|
||||
P:AVKit.AVPlayerViewController.VideoFrameAnalysisTypes
|
||||
P:AVKit.AVPlayerViewController.VideoGravity
|
||||
P:AVKit.AVPlayerViewController.WeakDelegate
|
||||
P:AVKit.AVPlayerViewController.WeakVideoGravity
|
||||
|
@ -77842,6 +77851,7 @@ T:AVKit.AVPlayerViewTrimResult
|
|||
T:AVKit.AVRoutePickerViewButtonState
|
||||
T:AVKit.AVRoutePickerViewButtonStyle
|
||||
T:AVKit.AVRoutePickerViewDelegate
|
||||
T:AVKit.AVVideoFrameAnalysisType
|
||||
T:AVKit.IAVCaptureViewDelegate
|
||||
T:AVKit.IAVCustomRoutingControllerDelegate
|
||||
T:AVKit.IAVPictureInPictureSampleBufferPlaybackDelegate
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
!missing-enum! AVVideoFrameAnalysisType not bound
|
||||
!missing-enum-value! AVKitError native value AVKitErrorRecordingFailed = -1200 not bound
|
||||
!missing-selector! AVPlayerViewController::setVideoFrameAnalysisTypes: not bound
|
||||
!missing-selector! AVPlayerViewController::toggleLookupAction not bound
|
||||
!missing-selector! AVPlayerViewController::videoFrameAnalysisTypes not bound
|
|
@ -1,3 +1,2 @@
|
|||
!missing-enum! AVVideoFrameAnalysisType not bound
|
||||
!missing-selector! AVPlayerView::setVideoFrameAnalysisTypes: not bound
|
||||
!missing-selector! AVPlayerView::videoFrameAnalysisTypes not bound
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
!missing-enum-value! AVKitError native value AVKitErrorRecordingFailed = -1200 not bound
|
||||
!missing-null-allowed! 'System.Void AVKit.AVPlayerViewController::set_InfoViewActions(UIKit.UIAction[])' is missing an [NullAllowed] on parameter #0
|
||||
!missing-protocol! AVContinuityDevicePickerViewControllerDelegate not bound
|
||||
!missing-selector! +AVContinuityDevicePickerViewController::isSupported not bound
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
!missing-enum! AVVideoFrameAnalysisType not bound
|
||||
!missing-enum-value! AVKitError native value AVKitErrorRecordingFailed = -1200 not bound
|
||||
!missing-selector! AVPlayerViewController::setVideoFrameAnalysisTypes: not bound
|
||||
!missing-selector! AVPlayerViewController::toggleLookupAction not bound
|
||||
!missing-selector! AVPlayerViewController::videoFrameAnalysisTypes not bound
|
|
@ -1,3 +1,2 @@
|
|||
!missing-enum! AVVideoFrameAnalysisType not bound
|
||||
!missing-selector! AVPlayerView::setVideoFrameAnalysisTypes: not bound
|
||||
!missing-selector! AVPlayerView::videoFrameAnalysisTypes not bound
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
!missing-enum-value! AVKitError native value AVKitErrorRecordingFailed = -1200 not bound
|
||||
!missing-null-allowed! 'System.Void AVKit.AVPlayerViewController::set_InfoViewActions(UIKit.UIAction[])' is missing an [NullAllowed] on parameter #0
|
||||
!missing-protocol! AVContinuityDevicePickerViewControllerDelegate not bound
|
||||
!missing-selector! +AVContinuityDevicePickerViewController::isSupported not bound
|
||||
|
|
Загрузка…
Ссылка в новой задаче