DownloadManager.GetRecommendedMaxBytesOverMobile(Context) 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.
Returns recommended maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no recommended limit.
[Android.Runtime.Register("getRecommendedMaxBytesOverMobile", "(Landroid/content/Context;)Ljava/lang/Long;", "")]
public static Java.Lang.Long? GetRecommendedMaxBytesOverMobile (Android.Content.Context? context);
[<Android.Runtime.Register("getRecommendedMaxBytesOverMobile", "(Landroid/content/Context;)Ljava/lang/Long;", "")>]
static member GetRecommendedMaxBytesOverMobile : Android.Content.Context -> Java.Lang.Long
Parameters
- context
- Context
the Context
to use for accessing the ContentResolver
Returns
recommended maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no recommended limit.
- Attributes
Remarks
Returns recommended maximum size, in bytes, of downloads that may go over a mobile connection; or null if there's no recommended limit. The user will have the option to bypass this limit.
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.