語言

DevicePolicyManager.IsStatusBarDisabled 屬性

定義

回傳狀態列是否被啟用,詳見 #setStatusBarDisabled。

public virtual bool IsStatusBarDisabled { [Android.Runtime.Register("isStatusBarDisabled", "()Z", "GetIsStatusBarDisabledHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isStatusBarDisabled", "()Z", "GetIsStatusBarDisabledHandler", ApiSince=34)>]
member this.IsStatusBarDisabled : bool

屬性值

屬性

備註

回傳狀態列是否被啟用,詳見 #setStatusBarDisabled。

可由裝置擁有者或與該裝置擁有者關聯的次要使用者的個人檔案擁有者撥打。

此政策在 LockTask 模式下無效。 LockTask 模式下狀態列的行為可以用 來設定 #setLockTaskFeatures(ComponentName, int)。

此政策在鎖定畫面時也無效,因為狀態列不會被停用。

Java 文件 android.app.admin.DevicePolicyManager.isStatusBarDisabled()。

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

適用於