语言

AppWidgetManager.IsRequestPinAppWidgetSupported 属性

定义

返回 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()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于