Share via


AVAssetDownloadUrlSession Class

Definition

A URL session object that developers use to create AVAssetDownloadTask objects.

[Foundation.Register("AVAssetDownloadURLSession", true)]
public class AVAssetDownloadUrlSession : Foundation.NSUrlSession
[<Foundation.Register("AVAssetDownloadURLSession", true)>]
type AVAssetDownloadUrlSession = class
    inherit NSUrlSession
Inheritance
AVAssetDownloadUrlSession
Attributes

Constructors

Name Description
AVAssetDownloadUrlSession(NativeHandle)

A constructor used when creating managed representations of unmanaged objects. Called by the runtime.

AVAssetDownloadUrlSession(NSObjectFlag)

Constructor to call on derived classes to skip initialization and merely allocate the object.

Properties

Name Description
AccessibilityAttributedUserInputLabels (Inherited from NSObject)
AccessibilityRespondsToUserInteraction (Inherited from NSObject)
AccessibilityTextualContext (Inherited from NSObject)
AccessibilityUserInputLabels (Inherited from NSObject)
Class (Inherited from NSObject)
ClassHandle

The Objective-C class handle for this class.

Configuration (Inherited from NSUrlSession)
DebugDescription (Inherited from NSObject)
Delegate

An instance of the Foundation.INSUrlSessionDelegate model class which acts as the class delegate.

(Inherited from NSUrlSession)
DelegateQueue (Inherited from NSUrlSession)
Description (Inherited from NSObject)
ExposedBindings (Inherited from NSObject)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from NSObject)
IsDirectBinding (Inherited from NSObject)
IsProxy (Inherited from NSObject)
RetainCount (Inherited from NSObject)
Self (Inherited from NSObject)
SessionDescription (Inherited from NSUrlSession)
SharedSession

Gets the shared session data.

Superclass (Inherited from NSObject)
SuperHandle

Handle used to represent the methods in the base class for this NSObject.

(Inherited from NSObject)
WeakDelegate (Inherited from NSUrlSession)
Zone (Inherited from NSObject)

Methods

Name Description
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr) (Inherited from NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

Registers an object for being observed externally using an arbitrary method.

(Inherited from NSObject)
AwakeFromNib() (Inherited from NSObject)
BeginInvokeOnMainThread(Action) (Inherited from NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

Invokes asynchrously the specified code on the main UI thread.

(Inherited from NSObject)
Bind(NSString, NSObject, String, NSBindingOptions) (Inherited from NSObject)
Bind(NSString, NSObject, String, NSDictionary) (Inherited from NSObject)
CommitEditing() (Inherited from NSObject)
CommitEditing(NSObject, Selector, IntPtr) (Inherited from NSObject)
ConformsToProtocol(NativeHandle) (Inherited from NSObject)
Copy() (Inherited from NSObject)
CreateBidirectionalStream(NSNetService) (Inherited from NSUrlSession)
CreateBidirectionalStream(String, IntPtr) (Inherited from NSUrlSession)
CreateDataTask(NSUrl, NSUrlSessionResponse)

Creates a new NSUrlSessionDataTask for the specified URL, and runs a completion handler when it is finished.

CreateDataTask(NSUrl, NSUrlSessionResponse) (Inherited from NSUrlSession)
CreateDataTask(NSUrl)

Creates a new NSUrlSessionDataTask for the specified URL.

CreateDataTask(NSUrl) (Inherited from NSUrlSession)
CreateDataTask(NSUrlRequest, NSUrlSessionResponse)

reates a new NSUrlSessionDataTask for the specified request, and runs a completion handler when it is finished.

CreateDataTask(NSUrlRequest, NSUrlSessionResponse) (Inherited from NSUrlSession)
CreateDataTask(NSUrlRequest)

Creates a new NSUrlSessionDataTask with the specified request.

CreateDataTask(NSUrlRequest) (Inherited from NSUrlSession)
CreateDataTaskAsync(NSUrl, NSUrlSessionDataTask) (Inherited from NSUrlSession)
CreateDataTaskAsync(NSUrl) (Inherited from NSUrlSession)
CreateDataTaskAsync(NSUrlRequest, NSUrlSessionDataTask) (Inherited from NSUrlSession)
CreateDataTaskAsync(NSUrlRequest) (Inherited from NSUrlSession)
CreateDownloadTask(NSData)

reates a new NSUrlSessionDataTask that resumes downloading resumeData.

CreateDownloadTask(NSData) (Inherited from NSUrlSession)
CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified url, and runs a completion handler when it is finished.

CreateDownloadTask(NSUrl, NSUrlDownloadSessionResponse) (Inherited from NSUrlSession)
CreateDownloadTask(NSUrl)

Creates a new NSUrlSessionDownloadTask for the specified URL.

CreateDownloadTask(NSUrl) (Inherited from NSUrlSession)
CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask for the specified request, and runs a completion handler when it is finished.

CreateDownloadTask(NSUrlRequest, NSUrlDownloadSessionResponse) (Inherited from NSUrlSession)
CreateDownloadTask(NSUrlRequest)

Creates a new NSUrlSessionDownloadTask for the specified request.

CreateDownloadTask(NSUrlRequest) (Inherited from NSUrlSession)
CreateDownloadTaskAsync(NSUrl, NSUrlSessionDownloadTask)

Downloads a url resource asynchronously to a temporary file.

(Inherited from NSUrlSession)
CreateDownloadTaskAsync(NSUrl) (Inherited from NSUrlSession)
CreateDownloadTaskAsync(NSUrlRequest, NSUrlSessionDownloadTask)

Downloads a url resource asynchronously to a temporary file.

(Inherited from NSUrlSession)
CreateDownloadTaskAsync(NSUrlRequest) (Inherited from NSUrlSession)
CreateDownloadTaskFromResumeData(NSData, NSUrlDownloadSessionResponse)

Creates a new NSUrlSessionDownloadTask that resumes downloading the resumeData, and runs a completion handler when it is finished.

CreateDownloadTaskFromResumeData(NSData, NSUrlDownloadSessionResponse) (Inherited from NSUrlSession)
CreateDownloadTaskFromResumeDataAsync(NSData, NSUrlSessionDownloadTask) (Inherited from NSUrlSession)
CreateDownloadTaskFromResumeDataAsync(NSData) (Inherited from NSUrlSession)
CreateSession(NSUrlSessionConfiguration, IAVAssetDownloadDelegate, NSOperationQueue)
CreateUploadTask(NSData, Action<NSData,NSUrlResponse,NSError>) (Inherited from NSUrlSession)
CreateUploadTask(NSData) (Inherited from NSUrlSession)
CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData, and runs completionHandler when it is finished.

CreateUploadTask(NSUrlRequest, NSData, NSUrlSessionResponse) (Inherited from NSUrlSession)
CreateUploadTask(NSUrlRequest, NSData)

Creates a new NSUrlSessionUploadTask for the specified request and bodyData.

CreateUploadTask(NSUrlRequest, NSData) (Inherited from NSUrlSession)
CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL, and runs completionHandler when it is finished.

CreateUploadTask(NSUrlRequest, NSUrl, NSUrlSessionResponse) (Inherited from NSUrlSession)
CreateUploadTask(NSUrlRequest, NSUrl)

Creates a new NSUrlSessionUploadTask for the specified request and fileURL.

CreateUploadTask(NSUrlRequest, NSUrl) (Inherited from NSUrlSession)
CreateUploadTask(NSUrlRequest)

Creates a new NSUrlSessionUploadTask for the specified request.

CreateUploadTask(NSUrlRequest) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSData, NSUrlSessionUploadTask) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSData) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSUrlRequest, NSData, NSUrlSessionUploadTask) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSUrlRequest, NSData) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSUrlRequest, NSUrl, NSUrlSessionUploadTask) (Inherited from NSUrlSession)
CreateUploadTaskAsync(NSUrlRequest, NSUrl) (Inherited from NSUrlSession)
CreateWebSocketTask(NSUrl, String[]) (Inherited from NSUrlSession)
CreateWebSocketTask(NSUrl) (Inherited from NSUrlSession)
CreateWebSocketTask(NSUrlRequest) (Inherited from NSUrlSession)
DangerousAutorelease()

Calls the 'autorelease' selector on this object.

(Inherited from NSObject)
DangerousRelease()

Calls the 'release' selector on this object.

(Inherited from NSObject)
DangerousRetain()

Calls the 'retain' selector on this object.

(Inherited from NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
DidChangeValue(String) (Inherited from NSObject)
Dispose()

Releases the resources used by the NSObject object.

(Inherited from NSObject)
Dispose(Boolean)

Releases the resources used by the NSObject object.

(Inherited from NSObject)
DoesNotRecognizeSelector(Selector) (Inherited from NSObject)
Equals(NSObject) (Inherited from NSObject)
Equals(Object) (Inherited from NSObject)
FinishTasksAndInvalidate() (Inherited from NSUrlSession)
Flush(Action) (Inherited from NSUrlSession)
FlushAsync() (Inherited from NSUrlSession)
FromConfiguration(NSUrlSessionConfiguration, INSUrlSessionDelegate, NSOperationQueue)

Creates a new NSUrlSession by using the specified configuration, delegate, and delegate cue.

FromConfiguration(NSUrlSessionConfiguration)

Creates a new NSUrlSession from the specified configuration.

FromWeakConfiguration(NSUrlSessionConfiguration, NSObject, NSOperationQueue)

Creates a new NSUrlSession from the specified configuration, weakly-referenced session delegate, and delegate queue.

GetAllTasks(NSUrlSessionAllPendingTasks) (Inherited from NSUrlSession)
GetAllTasksAsync() (Inherited from NSUrlSession)
GetAssetDownloadTask(AVAssetDownloadConfiguration)
GetAssetDownloadTask(AVUrlAsset, AVMediaSelection[], String, NSData, NSDictionary<NSString,NSObject>)
GetAssetDownloadTask(AVUrlAsset, NSUrl, AVAssetDownloadOptions)

Gets a AVAssetDownloadTask for the specified asset, destination, and options.

GetAssetDownloadTask(AVUrlAsset, NSUrl, NSDictionary)
GetAssetDownloadTask(AVUrlAsset, String, NSData, AVAssetDownloadOptions)

Gets a AVAssetDownloadTask for the specified asset, title, artwork, and options.

GetAssetDownloadTask(AVUrlAsset, String, NSData, NSDictionary)
GetBindingInfo(NSString) (Inherited from NSObject)
GetBindingOptionDescriptions(NSString) (Inherited from NSObject)
GetBindingValueClass(NSString) (Inherited from NSObject)
GetDictionaryOfValuesFromKeys(NSString[]) (Inherited from NSObject)
GetHashCode()

Generates a hash code for the current instance.

(Inherited from NSObject)
GetMethodForSelector(Selector) (Inherited from NSObject)
GetNativeHash() (Inherited from NSObject)
GetTasks(NSUrlSessionPendingTasks) (Inherited from NSUrlSession)
GetTasksAsync()

Requests the groups of pending tasks (data, upload and downloads).

(Inherited from NSUrlSession)
Init() (Inherited from NSObject)
InitializeHandle(NativeHandle, String) (Inherited from NSObject)
InitializeHandle(NativeHandle) (Inherited from NSObject)
InvalidateAndCancel() (Inherited from NSUrlSession)
Invoke(Action, Double) (Inherited from NSObject)
Invoke(Action, TimeSpan) (Inherited from NSObject)
InvokeOnMainThread(Action) (Inherited from NSObject)
InvokeOnMainThread(Selector, NSObject)

Invokes synchrously the specified code on the main UI thread.

(Inherited from NSObject)
IsEqual(NSObject) (Inherited from NSObject)
IsKindOfClass(Class) (Inherited from NSObject)
IsMemberOfClass(Class) (Inherited from NSObject)
MarkDirty()

Promotes a regular peer object (IsDirectBinding is true) into a toggleref object.

(Inherited from NSObject)
MutableCopy() (Inherited from NSObject)
ObjectDidEndEditing(NSObject) (Inherited from NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSObject, Double) (Inherited from NSObject)
PerformSelector(Selector, NSObject, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSObject) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[]) (Inherited from NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean) (Inherited from NSObject)
PerformSelector(Selector) (Inherited from NSObject)
PrepareForInterfaceBuilder() (Inherited from NSObject)
RemoveObserver(NSObject, NSString, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, NSString) (Inherited from NSObject)
RemoveObserver(NSObject, String, IntPtr) (Inherited from NSObject)
RemoveObserver(NSObject, String) (Inherited from NSObject)
Reset(Action) (Inherited from NSUrlSession)
ResetAsync() (Inherited from NSUrlSession)
RespondsToSelector(Selector) (Inherited from NSObject)
SetNilValueForKey(NSString) (Inherited from NSObject)
SetValueForKey(NSObject, NSString) (Inherited from NSObject)
SetValueForKeyPath(NativeHandle, NSString) (Inherited from NSObject)
SetValueForKeyPath(NSObject, NSString) (Inherited from NSObject)
SetValueForUndefinedKey(NSObject, NSString) (Inherited from NSObject)
SetValuesForKeysWithDictionary(NSDictionary) (Inherited from NSObject)
ToString()

Returns a string representation of the value of the current instance.

(Inherited from NSObject)
Unbind(NSString) (Inherited from NSObject)
ValueForKey(NSString) (Inherited from NSObject)
ValueForKeyPath(NSString) (Inherited from NSObject)
ValueForUndefinedKey(NSString) (Inherited from NSObject)
WillChange(NSKeyValueChange, NSIndexSet, NSString) (Inherited from NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet) (Inherited from NSObject)
WillChangeValue(String) (Inherited from NSObject)

Extension Methods

Name Description
AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)
AccessibilityHitTest(NSObject, CGPoint, UIEvent)
BeginPreviewPanelControl(NSObject, QLPreviewPanel)
BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)
BrowserAccessibilityInsertTextAtCursor(NSObject, String)
EndPreviewPanelControl(NSObject, QLPreviewPanel)
GetAccessibilityCustomRotors(NSObject)

Gets the array of UIAccessibilityCustomRotor objects appropriate for this object.

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)
GetAccessibilityLineRangeForPosition(NSObject, IntPtr)
GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)
GetAccessibilityNextTextNavigationElement(NSObject)
GetAccessibilityNextTextNavigationElementBlock(NSObject)
GetAccessibilityPreviousTextNavigationElement(NSObject)
GetAccessibilityPreviousTextNavigationElementBlock(NSObject)
GetAccessibilityTextInputResponder(NSObject)
GetAccessibilityTextInputResponderHandler(NSObject)
GetBrowserAccessibilityAttributedValue(NSObject, NSRange)
GetBrowserAccessibilityContainerType(NSObject)
GetBrowserAccessibilityCurrentStatus(NSObject)
GetBrowserAccessibilityHasDomFocus(NSObject)
GetBrowserAccessibilityIsRequired(NSObject)
GetBrowserAccessibilityPressedState(NSObject)
GetBrowserAccessibilityRoleDescription(NSObject)
GetBrowserAccessibilitySelectedTextRange(NSObject)
GetBrowserAccessibilitySortDirection(NSObject)
GetBrowserAccessibilityValue(NSObject, NSRange)
GetDebugDescription(INSObjectProtocol)
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
GetValidModes(NSObject, NSFontPanel)
ObjectDidBeginEditing(NSObject, INSEditor)
ObjectDidEndEditing(NSObject, INSEditor)
ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)
SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

Sets the array of UIAccessibilityCustomRotor objects appropriate for this object.

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)
SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)
SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)
SetAccessibilityTextInputResponder(NSObject, IUITextInput)
SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)
SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)
SetBrowserAccessibilityCurrentStatus(NSObject, String)
SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)
SetBrowserAccessibilityIsRequired(NSObject, Boolean)
SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)
SetBrowserAccessibilityRoleDescription(NSObject, String)
SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)
SetBrowserAccessibilitySortDirection(NSObject, String)
SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)
ValidateToolbarItem(NSObject, NSToolbarItem)

Applies to

See also