Class AppScreenScrollEvent
-
- All Implemented Interfaces:
-
io.opentelemetry.android.semconv.events.OpenTelemetryEvent
public final class AppScreenScrollEvent implements OpenTelemetryEvent
<p>This event represents a scroll on the screen of an application.</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 StringhwPointerButtonprivate final DoublehwPointerDistanceXprivate final DoublehwPointerDistanceYprivate final StringhwPointerType
-
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 StringgetHwPointerButton()<p>The hardware pointer button associated with a pointer gesture.</p> final DoublegetHwPointerDistanceX()<p>The horizontal distance associated with a pointer gesture.</p> final DoublegetHwPointerDistanceY()<p>The vertical distance associated with a pointer gesture.</p> final StringgetHwPointerType()<p>The hardware pointer type 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>
-
getHwPointerButton
final String getHwPointerButton()
<p>The hardware pointer button associated with a pointer gesture.</p>
-
getHwPointerDistanceX
final Double getHwPointerDistanceX()
<p>The horizontal distance associated with a pointer gesture.</p>
-
getHwPointerDistanceY
final Double getHwPointerDistanceY()
<p>The vertical distance associated with a pointer gesture.</p>
-
getHwPointerType
final String getHwPointerType()
<p>The hardware pointer type associated with a pointer gesture.</p>
-
emit
Unit emit(Logger logger, Attributes additionalAttributes)
Emits this event through logger, including any additionalAttributes.
-
-
-
-