AppWidgetManager.UpdateAppWidgetOptions(Int32, Bundle) 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.
Update the extras for a given widget instance.
[Android.Runtime.Register("updateAppWidgetOptions", "(ILandroid/os/Bundle;)V", "GetUpdateAppWidgetOptions_ILandroid_os_Bundle_Handler")]
public virtual void UpdateAppWidgetOptions (int appWidgetId, Android.OS.Bundle? options);
[<Android.Runtime.Register("updateAppWidgetOptions", "(ILandroid/os/Bundle;)V", "GetUpdateAppWidgetOptions_ILandroid_os_Bundle_Handler")>]
abstract member UpdateAppWidgetOptions : int * Android.OS.Bundle -> unit
override this.UpdateAppWidgetOptions : int * Android.OS.Bundle -> unit
Parameters
- appWidgetId
- Int32
The AppWidget instances for which to set the RemoteViews.
- options
- Bundle
The options to associate with this widget
- Attributes
Remarks
Update the extras for 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.
The new options are merged into existing options using Bundle#putAll
semantics.
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.