Compartir a través de


DownloadRequest.Builder Constructors

Definition

Overloads

DownloadRequest.Builder(Uri, Uri)

Builds a new DownloadRequest.

DownloadRequest.Builder(IntPtr, JniHandleOwnership)

DownloadRequest.Builder(Uri, Uri)

Builds a new DownloadRequest.

[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/net/Uri;)V", "", ApiSince=28)]
public Builder (Android.Net.Uri sourceUri, Android.Net.Uri destinationUri);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;Landroid/net/Uri;)V", "", ApiSince=28)>]
new Android.Telephony.Mbms.DownloadRequest.Builder : Android.Net.Uri * Android.Net.Uri -> Android.Telephony.Mbms.DownloadRequest.Builder

Parameters

sourceUri
Uri

the source URI for the DownloadRequest to be built. This URI should never be null.

destinationUri
Uri

The final location for the file(s) that are to be downloaded. It must be on the same filesystem as the temp file directory set via android.telephony.MbmsDownloadSession#setTempFileRootDirectory(File). The provided path must be a directory that exists. An IllegalArgumentException will be thrown otherwise.

Attributes

Remarks

Builds a new DownloadRequest.

Java documentation for android.telephony.mbms.DownloadRequest.Builder.DownloadRequest$Builder(android.net.Uri, android.net.Uri).

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

DownloadRequest.Builder(IntPtr, JniHandleOwnership)

protected Builder (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Telephony.Mbms.DownloadRequest.Builder : nativeint * Android.Runtime.JniHandleOwnership -> Android.Telephony.Mbms.DownloadRequest.Builder

Parameters

javaReference
IntPtr

nativeint

Applies to