UiModeManager.ModeNightCustom 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.
恆定值 和 #setNightMode(int)#getNightMode():會根據時間自動切換夜間模式。
[Android.Runtime.Register("MODE_NIGHT_CUSTOM", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.", true)]
public const Android.App.UiNightMode ModeNightCustom = 3;
[<Android.Runtime.Register("MODE_NIGHT_CUSTOM", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.UiNightMode enum directly instead of this field.", true)>]
val mutable ModeNightCustom : Android.App.UiNightMode
欄位值
Value = 3- 屬性
備註
setNightMode(int) 和 getNightMode() 的 Constant:根據時間自動開關夜間模式。
Android 參考資料。android.app.UiModeManager.MODE_NIGHT_CUSTOM
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。