NotificationManager.AutomaticZenRules 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳呼叫者擁有的自動ZenRules。
public virtual System.Collections.Generic.IDictionary<string,Android.App.AutomaticZenRule>? AutomaticZenRules { [Android.Runtime.Register("getAutomaticZenRules", "()Ljava/util/Map;", "GetGetAutomaticZenRulesHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getAutomaticZenRules", "()Ljava/util/Map;", "GetGetAutomaticZenRulesHandler", ApiSince=24)>]
member this.AutomaticZenRules : System.Collections.Generic.IDictionary<string, Android.App.AutomaticZenRule>
屬性值
- 屬性
備註
回傳呼叫者擁有的自動ZenRules。 若未授予此套件政策存取權限,則會拋出 SecurityException。 請參見 isNotificationPolicyAccessGranted()。
Android 參考資料。android.app.NotificationManager.getAutomaticZenRules
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。