AppWidgetHost.OnAppWidgetRemoved(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 appWidgetId 删除应用小组件时调用
[Android.Runtime.Register("onAppWidgetRemoved", "(I)V", "GetOnAppWidgetRemoved_IHandler", ApiSince=30)]
public virtual void OnAppWidgetRemoved (int appWidgetId);
[<Android.Runtime.Register("onAppWidgetRemoved", "(I)V", "GetOnAppWidgetRemoved_IHandler", ApiSince=30)>]
abstract member OnAppWidgetRemoved : int -> unit
override this.OnAppWidgetRemoved : int -> unit
参数
- appWidgetId
- Int32
appWidgetId
- 属性
注解
为 appWidgetId 删除应用小组件时调用
适用于 . 的 android.appwidget.AppWidgetHost.onAppWidgetRemoved(int)
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。