语言

DownloadManager.GetMaxBytesOverMobile(Context) 方法

定义

返回可能通过移动连接的下载的最大大小(以字节为单位);如果没有限制,则为 null

[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

参数

context
Context

Context用于访问ContentResolver

返回

可能经过移动连接的下载的最大大小(以字节为单位);如果没有限制,则为 null

特性

注解

返回可能通过移动连接的下载的最大大小(以字节为单位);如果没有限制,则为 null

Android 参考。android.app.DownloadManager.getMaxBytesOverMobile

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于