Język

DownloadManager.Request.SetAllowedOverRoaming(Boolean) Method

Definition

Set whether this download may proceed over a roaming connection.

[Android.Runtime.Register("setAllowedOverRoaming", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverRoaming_ZHandler")]
public virtual Android.App.DownloadManager.Request? SetAllowedOverRoaming(bool allowed);
[<Android.Runtime.Register("setAllowedOverRoaming", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverRoaming_ZHandler")>]
abstract member SetAllowedOverRoaming : bool -> Android.App.DownloadManager.Request
override this.SetAllowedOverRoaming : bool -> Android.App.DownloadManager.Request

Parameters

allowed
Boolean

boolean: whether to allow a roaming connection to be used

Returns

this object

Attributes

Remarks

Set whether this download may proceed over a roaming connection. By default, roaming is allowed.

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

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