AppWidgetHostView.StopVisibilityTracking 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 visibility tracking for this widget.
[Android.Runtime.Register("stopVisibilityTracking", "()V", "GetStopVisibilityTrackingHandler", ApiSince=36)]
public virtual void StopVisibilityTracking();
[<Android.Runtime.Register("stopVisibilityTracking", "()V", "GetStopVisibilityTrackingHandler", ApiSince=36)>]
abstract member StopVisibilityTracking : unit -> unit
override this.StopVisibilityTracking : unit -> unit
- Attributes
Remarks
Stop visibility tracking for this widget. This should be called when this view is no longer visible on screen to the user. This view will mark the end of a duration of visibility and add it to the total visibility duration tracked by this view.
Once the AppWidgetHost stops listening or this widget is deleted, the duration of visibility will be recorded into an AppWidgetEvent and reported to the widget service.
Android reference for android.appwidget.AppWidgetHostView.stopVisibilityTracking.
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.