Build.VERSION_CODES.P 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.
P.
[Android.Runtime.Register("P", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)]
public const Android.OS.BuildVersionCodes P = 28;
[<Android.Runtime.Register("P", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable P : Android.OS.BuildVersionCodes
欄位值
Value = 28- 屬性
備註
P.
於 2018 年 8 月公開發行,名為 Android 9。
針對此版本或後續版本的應用程式會獲得這些行為上的改變。 欲了解更多此版本資訊,請參閱 Android 9 Pie 概覽。
<UL><LI>android.app.Service#startForeground Service.startForeground 要求應用程式持有權限 android.Manifest.permission#FOREGROUND_SERVICE。</li><li>android.widget.LinearLayout 會重新測量加權子節點,即使沒有多餘空間。</li></ul>
Java 文件 android.os.Build.VERSION_CODES.P。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。