Package org.robovm.apple.avfoundation
Class AVAssetDownloadDelegateAdapter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSURLSessionDelegateAdapter
-
- org.robovm.apple.foundation.NSURLSessionTaskDelegateAdapter
-
- org.robovm.apple.avfoundation.AVAssetDownloadDelegateAdapter
-
- All Implemented Interfaces:
AVAssetDownloadDelegate
,NSObjectProtocol
,NSURLSessionDelegate
,NSURLSessionTaskDelegate
,org.robovm.objc.ObjCProtocol
public class AVAssetDownloadDelegateAdapter extends NSURLSessionTaskDelegateAdapter implements AVAssetDownloadDelegate
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description AVAssetDownloadDelegateAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
didCompleteForMediaSelection(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection)
void
didFinishDownloadingToURL(NSURLSession session, AVAssetDownloadTask assetDownloadTask, NSURL location)
void
didLoadTimeRange(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, CMTimeRange timeRange, NSArray<NSValue> loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection)
void
didLoadTimeRange(NSURLSession session, AVAssetDownloadTask assetDownloadTask, CMTimeRange timeRange, java.util.List<CMTimeRange> loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad)
void
didResolveMediaSelection(NSURLSession session, AVAssetDownloadTask assetDownloadTask, AVMediaSelection resolvedMediaSelection)
void
willDownloadToURL(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSURL location)
-
Methods inherited from class org.robovm.apple.foundation.NSURLSessionTaskDelegateAdapter
didComplete, didFinishCollectingMetrics, didReceiveChallenge, didSendBodyData, needNewBodyStream, taskIsWaitingForConnectivity, willBeginDelayedRequest, willPerformHTTPRedirection
-
Methods inherited from class org.robovm.apple.foundation.NSURLSessionDelegateAdapter
didBecomeInvalid, didFinishEvents, didReceiveChallenge
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
Methods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Methods inherited from interface org.robovm.apple.foundation.NSURLSessionDelegate
didBecomeInvalid, didFinishEvents, didReceiveChallenge
-
Methods inherited from interface org.robovm.apple.foundation.NSURLSessionTaskDelegate
didComplete, didFinishCollectingMetrics, didReceiveChallenge, didSendBodyData, needNewBodyStream, taskIsWaitingForConnectivity, willBeginDelayedRequest, willPerformHTTPRedirection
-
-
-
-
Method Detail
-
didFinishDownloadingToURL
public void didFinishDownloadingToURL(NSURLSession session, AVAssetDownloadTask assetDownloadTask, NSURL location)
- Specified by:
didFinishDownloadingToURL
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 10.0 and later.
-
didLoadTimeRange
public void didLoadTimeRange(NSURLSession session, AVAssetDownloadTask assetDownloadTask, CMTimeRange timeRange, java.util.List<CMTimeRange> loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad)
- Specified by:
didLoadTimeRange
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 9.0 and later.
-
didResolveMediaSelection
public void didResolveMediaSelection(NSURLSession session, AVAssetDownloadTask assetDownloadTask, AVMediaSelection resolvedMediaSelection)
- Specified by:
didResolveMediaSelection
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 9.0 and later.
-
willDownloadToURL
public void willDownloadToURL(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, NSURL location)
- Specified by:
willDownloadToURL
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 11.0 and later.
-
didCompleteForMediaSelection
public void didCompleteForMediaSelection(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, AVMediaSelection mediaSelection)
- Specified by:
didCompleteForMediaSelection
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 11.0 and later.
-
didLoadTimeRange
public void didLoadTimeRange(NSURLSession session, AVAggregateAssetDownloadTask aggregateAssetDownloadTask, CMTimeRange timeRange, NSArray<NSValue> loadedTimeRanges, CMTimeRange timeRangeExpectedToLoad, AVMediaSelection mediaSelection)
- Specified by:
didLoadTimeRange
in interfaceAVAssetDownloadDelegate
- Since:
- Available in iOS 11.0 and later.
-
-