Udostępnij za pośrednictwem


AppWidgetHost.StopListening Method

Definition

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.

Applies to