Android.App.DownloadManager.Request.SetAllowedNetworkTypes Method
Restrict the types of networks over which this download may proceed.

Syntax

[Android.Runtime.Register("setAllowedNetworkTypes", "(I)Landroid/app/DownloadManager$Request;", "GetSetAllowedNetworkTypes_IHandler")]
public virtual DownloadManager.Request SetAllowedNetworkTypes ([Android.Runtime.GeneratedEnum] DownloadNetwork flags)

Parameters

flags
any combination of the NETWORK_* bit flags.

Returns

Documentation for this section has not yet been entered.

Remarks

Restrict the types of networks over which this download may proceed. By default, all network types are allowed. Consider using Android.App.DownloadManager.Request.SetAllowedOverMetered(bool) instead, since it's more flexible.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9