Język

DownloadManager.Request Constructors

Definition

Overloads

Name Description
DownloadManager.Request(Uri)
DownloadManager.Request(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

DownloadManager.Request(Uri)

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")]
public Request(Android.Net.Uri? uri);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")>]
new Android.App.DownloadManager.Request : Android.Net.Uri -> Android.App.DownloadManager.Request

Parameters

uri
Uri

the HTTP or HTTPS URI to download.

Attributes

Remarks

Android reference for android.app.DownloadManager.Request.Request.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

DownloadManager.Request(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

protected Request(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.DownloadManager.Request : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.DownloadManager.Request

Parameters

javaReference
IntPtr

nativeint

The Java Native Interface object reference.

transfer
JniHandleOwnership

The ownership transfer to apply to the Java Native Interface object reference.

Remarks

This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to