AppWidgetManager.GetAppWidgetOptions(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the extras associated with a given widget instance.
[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
Parameters
- appWidgetId
- Int32
The AppWidget instances for which to set the RemoteViews.
Returns
The options associated with the given widget instance.
- Attributes
Remarks
Get the extras associated with a given widget instance.
The extras can be used to embed additional information about this widget to be accessed by the associated widget's AppWidgetProvider.
Java documentation for android.appwidget.AppWidgetManager.getAppWidgetOptions(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
See also
- <xref:Android.Appwidget.AppWidgetManager.UpdateAppWidgetOptions(System.Int32%2c+Android.OS.Bundle)>