語言

Configuration.IsNightModeActive 屬性

定義

重新判斷設定是否處於夜間模式

public bool IsNightModeActive { [Android.Runtime.Register("isNightModeActive", "()Z", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isNightModeActive", "()Z", "", ApiSince=30)>]
member this.IsNightModeActive : bool

屬性值

當夜間模式啟用時為 true,否則為 false

屬性

備註

重新判斷設定是否處於夜間模式

Java 文件 android.content.res.Configuration.isNightModeActive()。

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

適用於