Share via


DownloadManager.GetMaxBytesOverMobile(Context) Method

Definition

Returns maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no limit

[Android.Runtime.Register("getMaxBytesOverMobile", "(Landroid/content/Context;)Ljava/lang/Long;", "")]
public static Java.Lang.Long? GetMaxBytesOverMobile (Android.Content.Context? context);
[<Android.Runtime.Register("getMaxBytesOverMobile", "(Landroid/content/Context;)Ljava/lang/Long;", "")>]
static member GetMaxBytesOverMobile : Android.Content.Context -> Java.Lang.Long

Parameters

context
Context

the Context to use for accessing the ContentResolver

Returns

maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no limit

Attributes

Remarks

Returns maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no limit

Java documentation for android.app.DownloadManager.getMaxBytesOverMobile(android.content.Context).

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