Language

DownloadManager.Request.SetAllowedOverMetered(Boolean) Method

Definition

Set whether this download may proceed over a metered network connection.

[Android.Runtime.Register("setAllowedOverMetered", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverMetered_ZHandler")]
public virtual Android.App.DownloadManager.Request? SetAllowedOverMetered(bool allow);
[<Android.Runtime.Register("setAllowedOverMetered", "(Z)Landroid/app/DownloadManager$Request;", "GetSetAllowedOverMetered_ZHandler")>]
abstract member SetAllowedOverMetered : bool -> Android.App.DownloadManager.Request
override this.SetAllowedOverMetered : bool -> Android.App.DownloadManager.Request

Parameters

allow
Boolean

boolean

Returns

This Android.App.DownloadManager.Request instance, allowing calls to be chained.

Attributes

Remarks

Set whether this download may proceed over a metered network connection. By default, metered networks are allowed.

See also:

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

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