DownloadManager.Request.SetAllowedNetworkTypes(DownloadNetwork) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Restrict the types of networks over which this download may proceed.
[Android.Runtime.Register("setAllowedNetworkTypes", "(I)Landroid/app/DownloadManager$Request;", "GetSetAllowedNetworkTypes_IHandler")]
public virtual Android.App.DownloadManager.Request? SetAllowedNetworkTypes (Android.App.DownloadNetwork flags);
[<Android.Runtime.Register("setAllowedNetworkTypes", "(I)Landroid/app/DownloadManager$Request;", "GetSetAllowedNetworkTypes_IHandler")>]
abstract member SetAllowedNetworkTypes : Android.App.DownloadNetwork -> Android.App.DownloadManager.Request
override this.SetAllowedNetworkTypes : Android.App.DownloadNetwork -> Android.App.DownloadManager.Request
Parameters
- flags
- DownloadNetwork
any combination of the NETWORK_* bit flags.
Returns
- Attributes
Remarks
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.