Build.VERSION_CODES.Kitkat 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.
K.
[Android.Runtime.Register("KITKAT")]
[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 Kitkat = 19;
[<Android.Runtime.Register("KITKAT")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable Kitkat : Android.OS.BuildVersionCodes
欄位值
Value = 19- 屬性
備註
K.
於 2013 年 10 月公開發佈為 Android 4.4。
針對此版本或後續版本的應用程式會獲得這些行為上的改變。 欲了解更多此版本資訊,請參閱 Android KitKat 概覽。
<ul><li> 的 android.preference.PreferenceActivity#isValidFragment(String) PreferenceActivity.isValueFragment 預設結果變成假而非真。</li><li> 在 android.webkit.WebView中,針對早期版本的應用程式會直接評估 JS URL,且評估結果不會取代目前頁面內容。 針對 KITKAT 或更新版本的應用程式載入 JS URL,該 URL 的結果會取代當前頁面<>><android.app.AlarmManager#set AlarmManager.set的內容,li 會被解讀為不精確的值,以讓系統在排程警報時有更多彈性。</li><li>android.content.Context#getSharedPreferences(String, int) Context.getSharedPreferences 不再允許 null 名稱。</li><li>android.widget.RelativeLayout 變更以正確計算包裝內容邊距。</li><li>android.app.ActionBar 的視窗內容覆蓋層被允許繪製。</李><麗>android.Manifest.permission#READ_EXTERNAL_STORAGE 許可現在永遠被執行。</li><li>存取屬於呼叫應用程式的套件專屬外部儲存目錄,不再需要 android.Manifest.permission#READ_EXTERNAL_STORAGE OR android.Manifest.permission#WRITE_EXTERNAL_STORAGE 權限。</li></ul>
的 android.os.Build.VERSION_CODES.KITKATJava 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。