Build.VERSION_CODES.Lollipop 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.
L.
[Android.Runtime.Register("LOLLIPOP")]
[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 Lollipop = 21;
[<Android.Runtime.Register("LOLLIPOP")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.BuildVersionCodes enum directly instead of this field.", true)>]
val mutable Lollipop : Android.OS.BuildVersionCodes
欄位值
Value = 21- 屬性
備註
L.
於 2014 年 11 月以 Android 5.0 正式發佈。
針對此版本或後續版本的應用程式會獲得這些行為上的改變。 欲了解更多關於此版本的資訊,請參閱 Android Lollipop 總覽。
<ul><li>android.content.Context#bindService Context.bindService 現在要求明確的意圖,若給予隱含意圖,則會拋出例外。</li><Li>android.app.Notification.Builder Notification.Builder 不會調整各種通知元素的顏色以更符合新的材質設計風格。</li><li>android.os.Message 會在訊息回收時驗證該訊息是否正在使用。</li><li> 大多數地方會自動啟用 Windows 中的硬體加速繪圖功能。</li><Li>android.widget.Spinner 在連接多個物品類型的轉接器時會拋出例外。</li><li> 如果應用程式是啟動器,即使使用者使用企業設定檔(需要 android.content.pm.LauncherApps 應用程式正確填入應用程式介面),啟動器也會被使用者使用。</li><li> 呼叫 android.app.Service#stopForeground Service.stopForeground removeNotification false 會修改仍然發布的通知,使其不再強制持續進行。</li><li> A android.service.dreams.DreamService 必須先取得 android.Manifest.permission#BIND_DREAM_SERVICE 許可才能使用。</li></ul>
Java 文件 android.os.Build.VERSION_CODES.LOLLIPOP。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。