語言

DownloadManager.GetRecommendedMaxBytesOverMobile(Context) 方法

定義

回傳可透過行動網路傳輸的下載最大大小(位元組);如果沒有推薦的上限,則是無效。

[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

參數

context
Context

Context使用 以存取ContentResolver

傳回

建議可透過行動連線下載的最大容量(位元組);如果沒有推薦的上限,則是無效。

屬性

備註

回傳可透過行動網路傳輸的下載最大大小(位元組);如果沒有推薦的上限,則是無效。 使用者可以選擇繞過這個限制。

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

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

適用於