SliceMetrics.LogTouch(Int32, Uri) Method

Definition

To be called whenever the user invokes a discrete action via a slice.

[Android.Runtime.Register("logTouch", "(ILandroid/net/Uri;)V", "GetLogTouch_ILandroid_net_Uri_Handler", ApiSince=28)]
public virtual void LogTouch (int actionType, Android.Net.Uri subSlice);
[<Android.Runtime.Register("logTouch", "(ILandroid/net/Uri;)V", "GetLogTouch_ILandroid_net_Uri_Handler", ApiSince=28)>]
abstract member LogTouch : int * Android.Net.Uri -> unit
override this.LogTouch : int * Android.Net.Uri -> unit

Parameters

actionType
Int32

The type of the event.

subSlice
Uri

The URI of the sub-slice that is the subject of the interaction.

Attributes

Remarks

To be called whenever the user invokes a discrete action via a slice.

Use this for discrete events like a tap or the end of a drag, not for a continuous streams of events, such as the motion during a gesture.

Java documentation for android.app.slice.SliceMetrics.logTouch(int, android.net.Uri).

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