AppWidgetProviderInfo.WidgetCategoryNotKeyguard 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.
表示該小工具絕不應出現在 Keyguard 上。
[Android.Runtime.Register("WIDGET_CATEGORY_NOT_KEYGUARD", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.", true)]
public const Android.Appwidget.AppWidgetCategory WidgetCategoryNotKeyguard = 8;
[<Android.Runtime.Register("WIDGET_CATEGORY_NOT_KEYGUARD", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Appwidget.AppWidgetCategory enum directly instead of this field.", true)>]
val mutable WidgetCategoryNotKeyguard : Android.Appwidget.AppWidgetCategory
欄位值
Value = 8實作
- 屬性
備註
表示該小工具絕不應出現在 Keyguard 上。
有些 Keyguard 風格的功能可能會決定 #WIDGET_CATEGORY_KEYGUARD ,當使用者選擇時,應用程式不一定要新增這些功能才能顯示在該功能上。 此類別能更明確地說明元件的位置,即使上述情況,該元件也不應該出現在 Keyguard 上。
設定此類別不會改變 AppWidgetManager 查詢的行為,尊重此值是 widget 表面的責任。
Java 文件 android.appwidget.AppWidgetProviderInfo.WIDGET_CATEGORY_NOT_KEYGUARD。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。