語言

DownloadManager.GetMaxBytesOverMobile(Context) 方法

定義

回傳可透過行動連線的最大下載大小(位元組);若無限制則為零

[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

傳回

可透過行動連線下載的最大容量(以位元組計);若無限制則為零

屬性

備註

回傳可透過行動連線的最大下載大小(位元組);若無限制則為零

Android 參考資料。android.app.DownloadManager.getMaxBytesOverMobile

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於