Class UserActionSensors

java.lang.Object
com.dynatrace.tools.android.dsl.UserActionSensors
All Implemented Interfaces:
com.dynatrace.tools.android.api.UserActionSensors, Serializable

public class UserActionSensors extends Object implements Serializable, com.dynatrace.tools.android.api.UserActionSensors
DSL object for configuring the sensor options of the user action monitoring feature.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates new UserActionSensors.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    click(boolean click)
    Specifies if the sensor for View.OnClickListener is enabled.
    void
    composeClickable(boolean composeClickable)
    Specifies if the sensor for Modifier.clickable is enabled.
    void
    composePager(boolean composePager)
    Specifies if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled.
    void
    composePullRefresh(boolean composePullRefresh)
    Specifies if the sensor for Modifier#pullRefresh is enabled.
    void
    composeSemantics(boolean composeSemantics)
    Specifies if the sensor for semantic information is enabled.
    void
    composeSlider(boolean composeSlider)
    Specifies if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled.
    void
    composeSwipeable(boolean composeSwipeable)
    Specifies if the sensor for Modifier.swipeable is enabled.
    boolean
    equals(Object other)
    int
    boolean
    Specifies if the sensor for View.OnClickListener is enabled.
    boolean
    Specifies if the sensor for Modifier.clickable is enabled.
    boolean
    Specifies if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled.
    boolean
    Specifies if the sensor for Modifier#pullRefresh is enabled.
    boolean
    Specifies if the sensor for semantic information is enabled.
    boolean
    Specifies if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled.
    boolean
    Specifies if the sensor for Modifier.swipeable is enabled.
    boolean
    Specifies if the sensor for AdapterView.OnItemClickListener is enabled.
    boolean
    Specifies if the sensor for AdapterView.OnItemSelectedListener is enabled.
    boolean
    Specifies if the sensor for MenuItem.OnMenuItemClickListener is enabled.
    boolean
    Specifies if the sensor for Activity#onOptionsItemSelected is enabled.
    boolean
    Specifies if the sensor for ViewPager.OnPageChangeListener is enabled.
    boolean
    Specifies if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled.
    void
    itemClick(boolean itemClick)
    Specifies if the sensor for AdapterView.OnItemClickListener is enabled.
    void
    itemSelect(boolean itemSelect)
    Specifies if the sensor for AdapterView.OnItemSelectedListener is enabled.
    void
    menuClick(boolean menuClick)
    Specifies if the sensor for MenuItem.OnMenuItemClickListener is enabled.
    void
    optionSelect(boolean optionSelect)
    Specifies if the sensor for Activity#onOptionsItemSelected is enabled.
    void
    pageChange(boolean pageChange)
    Specifies if the sensor for ViewPager.OnPageChangeListener is enabled.
    void
    refresh(boolean refresh)
    Specifies if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.dynatrace.tools.android.api.UserActionSensors

    hasActiveSensors, hasComposeActiveSensors
  • Constructor Details

  • Method Details

    • click

      public void click(boolean click)
      Specifies if the sensor for View.OnClickListener is enabled.

      The default value is true.

      Parameters:
      click - true, if the sensor for View.OnClickListener is enabled
    • itemClick

      public void itemClick(boolean itemClick)
      Specifies if the sensor for AdapterView.OnItemClickListener is enabled.

      The default value is true.

      Parameters:
      itemClick - true, if the sensor for AdapterView.OnItemClickListener is enabled
    • itemSelect

      public void itemSelect(boolean itemSelect)
      Specifies if the sensor for AdapterView.OnItemSelectedListener is enabled.

      The default value is true.

      Parameters:
      itemSelect - true, if the sensor for AdapterView.OnItemSelectedListener is enabled
    • pageChange

      public void pageChange(boolean pageChange)
      Specifies if the sensor for ViewPager.OnPageChangeListener is enabled.

      The default value is true.

      Parameters:
      pageChange - true, if the sensor for ViewPager.OnPageChangeListener is enabled
    • refresh

      public void refresh(boolean refresh)
      Specifies if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled.

      The default value is true.

      Parameters:
      refresh - true, if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled
    • optionSelect

      public void optionSelect(boolean optionSelect)
      Specifies if the sensor for Activity#onOptionsItemSelected is enabled.

      The default value is true.

      Parameters:
      optionSelect - true, if the sensor for Activity#onOptionsItemSelected is enabled
    • isClick

      public boolean isClick()
      Specifies if the sensor for View.OnClickListener is enabled.

      The default value is true.

      Specified by:
      isClick in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for View.OnClickListener is enabled
    • isItemClick

      public boolean isItemClick()
      Specifies if the sensor for AdapterView.OnItemClickListener is enabled.

      The default value is true.

      Specified by:
      isItemClick in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for AdapterView.OnItemClickListener is enabled
    • isItemSelect

      public boolean isItemSelect()
      Specifies if the sensor for AdapterView.OnItemSelectedListener is enabled.

      The default value is true.

      Specified by:
      isItemSelect in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for AdapterView.OnItemSelectedListener is enabled
    • isMenuClick

      public boolean isMenuClick()
      Specifies if the sensor for MenuItem.OnMenuItemClickListener is enabled.

      The default value is true.

      Specified by:
      isMenuClick in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for MenuItem.OnMenuItemClickListener is enabled
    • isPageChange

      public boolean isPageChange()
      Specifies if the sensor for ViewPager.OnPageChangeListener is enabled.

      The default value is true.

      Specified by:
      isPageChange in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for ViewPager.OnPageChangeListener is enabled
    • isRefresh

      public boolean isRefresh()
      Specifies if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled.

      The default value is true.

      Specified by:
      isRefresh in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for SwipeRefreshLayout.OnRefreshListener is enabled
    • isOptionSelect

      public boolean isOptionSelect()
      Specifies if the sensor for Activity#onOptionsItemSelected is enabled.

      The default value is true.

      Specified by:
      isOptionSelect in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for Activity#onOptionsItemSelected is enabled
    • composeClickable

      public void composeClickable(boolean composeClickable)
      Specifies if the sensor for Modifier.clickable is enabled.

      The default value is true.

      Parameters:
      composeClickable - true, if the sensor for Modifier.clickable is enabled
      Since:
      8.263
    • composeSwipeable

      public void composeSwipeable(boolean composeSwipeable)
      Specifies if the sensor for Modifier.swipeable is enabled.

      The default value is true.

      Parameters:
      composeSwipeable - true, if the sensor for Modifier.swipeable is enabled
      Since:
      8.263
    • composeSemantics

      public void composeSemantics(boolean composeSemantics)
      Specifies if the sensor for semantic information is enabled.

      The default value is true.

      Parameters:
      composeSemantics - true, if the sensor for semantic information is enabled
      Since:
      8.263
    • composeSlider

      public void composeSlider(boolean composeSlider)
      Specifies if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled.

      The default value is true.

      Parameters:
      composeSlider - true, if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled
      Since:
      8.267
    • composePullRefresh

      public void composePullRefresh(boolean composePullRefresh)
      Specifies if the sensor for Modifier#pullRefresh is enabled.

      The default value is true.

      Parameters:
      composePullRefresh - true, if the sensor for Modifier#pullRefresh is enabled
      Since:
      8.267
    • composePager

      public void composePager(boolean composePager)
      Specifies if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled.

      The default value is true.

      Parameters:
      composePager - true, if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled
      Since:
      8.267
    • isComposeClickable

      public boolean isComposeClickable()
      Specifies if the sensor for Modifier.clickable is enabled.

      The default value is true.

      Specified by:
      isComposeClickable in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for Modifier.clickable is enabled
      Since:
      8.263
    • isComposeSwipeable

      public boolean isComposeSwipeable()
      Specifies if the sensor for Modifier.swipeable is enabled.

      The default value is true.

      Specified by:
      isComposeSwipeable in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for Modifier.swipeable is enabled
      Since:
      8.263
    • isComposeSemantics

      public boolean isComposeSemantics()
      Specifies if the sensor for semantic information is enabled.

      The default value is true.

      Specified by:
      isComposeSemantics in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for semantic information is enabled
      Since:
      8.263
    • isComposeSlider

      public boolean isComposeSlider()
      Specifies if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled.

      The default value is true.

      Specified by:
      isComposeSlider in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for androidx.compose.material.Slider and androidx.compose.material.RangeSlider is enabled
      Since:
      8.267
    • isComposePullRefresh

      public boolean isComposePullRefresh()
      Specifies if the sensor for Modifier#pullRefresh is enabled.

      The default value is true.

      Specified by:
      isComposePullRefresh in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for Modifier#pullRefresh is enabled
      Since:
      8.267
    • isComposePager

      public boolean isComposePager()
      Specifies if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled.

      The default value is true.

      Specified by:
      isComposePager in interface com.dynatrace.tools.android.api.UserActionSensors
      Returns:
      true, if the sensor for androidx.compose.foundation.pager#VerticalPager and androidx.compose.foundation.pager.HorizontalPager is enabled
      Since:
      8.267
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object