Class AppScreenClickEvent

  • All Implemented Interfaces:
    io.opentelemetry.android.semconv.events.OpenTelemetryEvent

    
    public final class AppScreenClickEvent
     implements OpenTelemetryEvent
                        
    <p>This event represents an instantaneous click on the screen of an application.</p> <p>Notes:</p> <p>The <c>app.screen.click</c> event can be used to indicate that a user has clicked or tapped on the screen portion of an application. Clicks outside of an application's active area SHOULD NOT generate this event. This event does not differentiate between touch/mouse down and touch/mouse up. Implementations SHOULD give preference to generating this event at the time the click is complete, typically on touch release or mouse up. The location of the click event MUST be provided in absolute screen pixels.</p>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getAppScreenCoordinateX() <p>The x (horizontal) coordinate of a screen coordinate, in screen pixels.</p>
      final Long getAppScreenCoordinateY() <p>The y (vertical) component of a screen coordinate, in screen pixels.</p>
      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>
      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>
      Unit emit(Logger logger, Attributes additionalAttributes) Emits this event through logger, including any additionalAttributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppScreenClickEvent

        AppScreenClickEvent(Long appScreenCoordinateX, Long appScreenCoordinateY, String appScreenId, String appScreenName)
    • 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>