AppWidgetManager.IsRequestPinAppWidgetSupported 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回 true 默认启动器是否支持 #requestPinAppWidget(ComponentName, Bundle, PendingIntent)。
public virtual bool IsRequestPinAppWidgetSupported { [Android.Runtime.Register("isRequestPinAppWidgetSupported", "()Z", "GetIsRequestPinAppWidgetSupportedHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("isRequestPinAppWidgetSupported", "()Z", "GetIsRequestPinAppWidgetSupportedHandler", ApiSince=26)>]
member this.IsRequestPinAppWidgetSupported : bool
属性值
true 如果默认启动器支持固定应用小组件的请求,并且未为调用应用启用应用锁定;则为否则,为 false.
- 特性
注解
如果默认启动器支持,则返回TRUE#requestPinAppWidget(ComponentName, Bundle, PendingIntent)
Java文档android.appwidget.AppWidgetManager.isRequestPinAppWidgetSupported()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。