AppWidgetHost.StartListening 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.
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.