Class AppWidgetClickEvent
-
- All Implemented Interfaces:
-
io.opentelemetry.android.semconv.events.OpenTelemetryEvent
public final class AppWidgetClickEvent implements OpenTelemetryEvent
<p>This event indicates that an application widget has been clicked.</p> <p>Notes:</p> <p>Use this event to indicate that visual application component has been clicked, typically through a user's manual interaction.</p>
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringAPP_WIDGET_CLICK_EVENT_NAMEprivate final LongappScreenCoordinateXprivate final LongappScreenCoordinateYprivate final StringappScreenIdprivate final StringappScreenNameprivate final StringappWidgetIdprivate final StringappWidgetName
-
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> 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>
-
emit
Unit emit(Logger logger, Attributes additionalAttributes)
Emits this event through logger, including any additionalAttributes.
-
-
-
-