語言

AppWidgetHost.OnAppWidgetRemoved(Int32) 方法

定義

當應用程式小工具被移除時,會呼叫 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

Java 文件 android.appwidget.AppWidgetHost.onAppWidgetRemoved(int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於