共用方式為


AppWidgetManager.GetAppWidgetOptions(Int32) 方法

定義

取得與指定小工具實例相關聯的額外專案。

[Android.Runtime.Register("getAppWidgetOptions", "(I)Landroid/os/Bundle;", "GetGetAppWidgetOptions_IHandler")]
public virtual Android.OS.Bundle? GetAppWidgetOptions(int appWidgetId);
[<Android.Runtime.Register("getAppWidgetOptions", "(I)Landroid/os/Bundle;", "GetGetAppWidgetOptions_IHandler")>]
abstract member GetAppWidgetOptions : int -> Android.OS.Bundle
override this.GetAppWidgetOptions : int -> Android.OS.Bundle

參數

appWidgetId
Int32

要設定 RemoteViews 的 AppWidget 實例。

傳回

與指定小工具實例相關聯的選項。

屬性

備註

取得與指定小工具實例相關聯的額外專案。

額外專案可用來內嵌相關小工具 AppWidgetProvider 存取此小工具的其他資訊。

android.appwidget.AppWidgetManager.getAppWidgetOptions(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

另請參閱

  • <xref:Android.Appwidget.AppWidgetManager.UpdateAppWidgetOptions(System.Int32%2c+Android.OS.Bundle)>