[avfoundation] Add missing protocol members and deprecations (#2691)
!missing-protocol-member! AVCapturePhotoCaptureDelegate::captureOutput:didFinishProcessingPhoto:error: not found and the selector removed from PR#2687 was actually replaced with this one !missing-protocol-member! AVAssetDownloadDelegate::URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection: not found
This commit is contained in:
Родитель
274a34c93f
Коммит
aa07426359
|
@ -8987,12 +8987,18 @@ namespace XamCore.AVFoundation {
|
|||
[Export ("captureOutput:didCapturePhotoForResolvedSettings:")]
|
||||
void DidCapturePhoto (AVCapturePhotoOutput captureOutput, AVCaptureResolvedPhotoSettings resolvedSettings);
|
||||
|
||||
[Deprecated (PlatformName.iOS, 11,0, message: "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
|
||||
[Export ("captureOutput:didFinishProcessingPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:")]
|
||||
void DidFinishProcessingPhoto (AVCapturePhotoOutput captureOutput, [NullAllowed] CMSampleBuffer photoSampleBuffer, [NullAllowed] CMSampleBuffer previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, [NullAllowed] AVCaptureBracketedStillImageSettings bracketSettings, [NullAllowed] NSError error);
|
||||
|
||||
[Deprecated (PlatformName.iOS, 11,0, message: "Use the 'DidFinishProcessingPhoto' overload accepting a 'AVCapturePhoto' instead.")]
|
||||
[Export ("captureOutput:didFinishProcessingRawPhotoSampleBuffer:previewPhotoSampleBuffer:resolvedSettings:bracketSettings:error:")]
|
||||
void DidFinishProcessingRawPhoto (AVCapturePhotoOutput captureOutput, [NullAllowed] CMSampleBuffer rawSampleBuffer, [NullAllowed] CMSampleBuffer previewPhotoSampleBuffer, AVCaptureResolvedPhotoSettings resolvedSettings, [NullAllowed] AVCaptureBracketedStillImageSettings bracketSettings, [NullAllowed] NSError error);
|
||||
|
||||
[iOS (11,0)]
|
||||
[Export ("captureOutput:didFinishProcessingPhoto:error:")]
|
||||
void DidFinishProcessingPhoto (AVCapturePhotoOutput output, AVCapturePhoto photo, [NullAllowed] NSError error);
|
||||
|
||||
[Export ("captureOutput:didFinishRecordingLivePhotoMovieForEventualFileAtURL:resolvedSettings:")]
|
||||
void DidFinishRecordingLivePhotoMovie (AVCapturePhotoOutput captureOutput, NSUrl outputFileUrl, AVCaptureResolvedPhotoSettings resolvedSettings);
|
||||
|
||||
|
@ -11526,6 +11532,7 @@ namespace XamCore.AVFoundation {
|
|||
interface IAVAssetDownloadDelegate {}
|
||||
|
||||
[NoTV]
|
||||
[NoMac]
|
||||
[NoWatch]
|
||||
[iOS (9,0)]
|
||||
[Protocol, Model]
|
||||
|
@ -11541,13 +11548,17 @@ namespace XamCore.AVFoundation {
|
|||
[Export ("URLSession:assetDownloadTask:didFinishDownloadingToURL:")]
|
||||
void DidFinishDownloadingToUrl (NSUrlSession session, AVAssetDownloadTask assetDownloadTask, NSUrl location);
|
||||
|
||||
[NoWatch, NoMac, NoTV, iOS (11,0)]
|
||||
[iOS (11,0)]
|
||||
[Export ("URLSession:aggregateAssetDownloadTask:willDownloadToURL:")]
|
||||
void WillDownloadToUrl (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSUrl location);
|
||||
|
||||
[NoWatch, NoMac, NoTV, iOS (11,0)]
|
||||
[iOS (11,0)]
|
||||
[Export ("URLSession:aggregateAssetDownloadTask:didCompleteForMediaSelection:")]
|
||||
void DidCompleteForMediaSelection (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection);
|
||||
|
||||
[iOS (11,0)]
|
||||
[Export ("URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection:")]
|
||||
void DidLoadTimeRange (NSUrlSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, CMTimeRange timeRange, NSValue[] loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче