Class AppWidgetFlingEvent
-
- All Implemented Interfaces:
-
io.opentelemetry.android.semconv.events.OpenTelemetryEvent
public final class AppWidgetFlingEvent implements OpenTelemetryEvent
<p>This event represents a fling on an application widget.</p> <p>Notes:</p> <p>none</p>
-
-
Field Summary
Fields Modifier and Type Field Description private final LongappScreenCoordinateXprivate final LongappScreenCoordinateYprivate final StringappScreenIdprivate final StringappScreenNameprivate final StringappWidgetIdprivate final StringappWidgetNameprivate final StringhwPointerButtonprivate final StringhwPointerTypeprivate final DoublehwPointerVelocityXprivate final DoublehwPointerVelocityY
-
Method Summary
Modifier and Type Method Description final LonggetAppScreenCoordinateX()<p>The x (horizontal) coordinate of a screen coordinate, in screen pixels.</p> final LonggetAppScreenCoordinateY()<p>The y (vertical) component of a screen coordinate, in screen pixels.</p> final StringgetAppScreenId()<p>An identifier that uniquely differentiates this screen from other screens in the same application.</p> <p>Notes:</p> <p>A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).</p> final StringgetAppScreenName()<p>The name of an application screen.</p> <p>Notes:</p> <p>A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).</p> final StringgetAppWidgetId()<p>An identifier that uniquely differentiates this widget from other widgets in the same application.</p> <p>Notes:</p> <p>A widget is an application component, typically an on-screen visual GUI element.</p> final StringgetAppWidgetName()<p>The name of an application widget.</p> <p>Notes:</p> <p>A widget is an application component, typically an on-screen visual GUI element.</p> final StringgetHwPointerButton()<p>The hardware pointer button associated with a pointer gesture.</p> final StringgetHwPointerType()<p>The hardware pointer type associated with a pointer gesture.</p> final DoublegetHwPointerVelocityX()<p>The horizontal velocity associated with a pointer gesture.</p> final DoublegetHwPointerVelocityY()<p>The vertical velocity associated with a pointer gesture.</p> Unitemit(Logger logger, Attributes additionalAttributes)Emits this event through logger, including any additionalAttributes. -
-
Method Detail
-
getAppScreenCoordinateX
final Long getAppScreenCoordinateX()
<p>The x (horizontal) coordinate of a screen coordinate, in screen pixels.</p>
-
getAppScreenCoordinateY
final Long getAppScreenCoordinateY()
<p>The y (vertical) component of a screen coordinate, in screen pixels.</p>
-
getAppScreenId
final String getAppScreenId()
<p>An identifier that uniquely differentiates this screen from other screens in the same application.</p> <p>Notes:</p> <p>A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).</p>
-
getAppScreenName
final String getAppScreenName()
<p>The name of an application screen.</p> <p>Notes:</p> <p>A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).</p>
-
getAppWidgetId
final String getAppWidgetId()
<p>An identifier that uniquely differentiates this widget from other widgets in the same application.</p> <p>Notes:</p> <p>A widget is an application component, typically an on-screen visual GUI element.</p>
-
getAppWidgetName
final String getAppWidgetName()
<p>The name of an application widget.</p> <p>Notes:</p> <p>A widget is an application component, typically an on-screen visual GUI element.</p>
-
getHwPointerButton
final String getHwPointerButton()
<p>The hardware pointer button associated with a pointer gesture.</p>
-
getHwPointerType
final String getHwPointerType()
<p>The hardware pointer type associated with a pointer gesture.</p>
-
getHwPointerVelocityX
final Double getHwPointerVelocityX()
<p>The horizontal velocity associated with a pointer gesture.</p>
-
getHwPointerVelocityY
final Double getHwPointerVelocityY()
<p>The vertical velocity associated with a pointer gesture.</p>
-
emit
Unit emit(Logger logger, Attributes additionalAttributes)
Emits this event through logger, including any additionalAttributes.
-
-
-
-