AppWidgetHost.StopListening 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.
Stop receiving onAppWidgetChanged calls for your AppWidgets.
[Android.Runtime.Register("stopListening", "()V", "GetStopListeningHandler")]
public virtual void StopListening ();
[<Android.Runtime.Register("stopListening", "()V", "GetStopListeningHandler")>]
abstract member StopListening : unit -> unit
override this.StopListening : unit -> unit
- Attributes
Remarks
Stop receiving onAppWidgetChanged calls for your AppWidgets. Call this when your activity is no longer visible, i.e. from onStop() in your Activity.
Java documentation for android.appwidget.AppWidgetHost.stopListening()
.
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.