Share via


AppWidgetHost.StartListening Method

Definition

Start receiving onAppWidgetChanged calls for your AppWidgets.

[Android.Runtime.Register("startListening", "()V", "GetStartListeningHandler")]
public virtual void StartListening ();
[<Android.Runtime.Register("startListening", "()V", "GetStartListeningHandler")>]
abstract member StartListening : unit -> unit
override this.StartListening : unit -> unit
Attributes

Remarks

Start receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity becomes visible, i.e. from onStart() in your Activity.

Java documentation for android.appwidget.AppWidgetHost.startListening().

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