Package com.dynatrace.tools.android.dsl
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidclick(boolean click) Specifies if the sensor forView.OnClickListeneris enabled.voidcomposeClickable(boolean composeClickable) Specifies if the sensor forModifier.clickableis enabled.voidcomposePager(boolean composePager) Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled.voidcomposePullRefresh(boolean composePullRefresh) Specifies if the sensor forModifier#pullRefreshis enabled.voidcomposeSemantics(boolean composeSemantics) Specifies if the sensor for semantic information is enabled.voidcomposeSlider(boolean composeSlider) Specifies if the sensor forandroidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled.voidcomposeSwipeable(boolean composeSwipeable) Specifies if the sensor forModifier.swipeableis enabled.booleaninthashCode()booleanisClick()Specifies if the sensor forView.OnClickListeneris enabled.booleanSpecifies if the sensor forModifier.clickableis enabled.booleanSpecifies if the sensor forandroidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled.booleanSpecifies if the sensor forModifier#pullRefreshis enabled.booleanSpecifies if the sensor for semantic information is enabled.booleanSpecifies if the sensor forandroidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled.booleanSpecifies if the sensor forModifier.swipeableis enabled.booleanSpecifies if the sensor forAdapterView.OnItemClickListeneris enabled.booleanSpecifies if the sensor forAdapterView.OnItemSelectedListeneris enabled.booleanSpecifies if the sensor forMenuItem.OnMenuItemClickListeneris enabled.booleanSpecifies if the sensor forActivity#onOptionsItemSelectedis enabled.booleanSpecifies if the sensor forViewPager.OnPageChangeListeneris enabled.booleanSpecifies if the sensor forSwipeRefreshLayout.OnRefreshListeneris enabled.voiditemClick(boolean itemClick) Specifies if the sensor forAdapterView.OnItemClickListeneris enabled.voiditemSelect(boolean itemSelect) Specifies if the sensor forAdapterView.OnItemSelectedListeneris enabled.voidmenuClick(boolean menuClick) Specifies if the sensor forMenuItem.OnMenuItemClickListeneris enabled.voidoptionSelect(boolean optionSelect) Specifies if the sensor forActivity#onOptionsItemSelectedis enabled.voidpageChange(boolean pageChange) Specifies if the sensor forViewPager.OnPageChangeListeneris enabled.voidrefresh(boolean refresh) Specifies if the sensor forSwipeRefreshLayout.OnRefreshListeneris enabled.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.dynatrace.tools.android.api.UserActionSensors
hasActiveSensors, hasComposeActiveSensors
-
Constructor Details
-
UserActionSensors
public UserActionSensors()Creates newUserActionSensors.
-
-
Method Details
-
click
public void click(boolean click) Specifies if the sensor forView.OnClickListeneris enabled.The default value is true.
- Parameters:
click- true, if the sensor forView.OnClickListeneris enabled
-
itemClick
public void itemClick(boolean itemClick) Specifies if the sensor forAdapterView.OnItemClickListeneris enabled.The default value is true.
- Parameters:
itemClick- true, if the sensor forAdapterView.OnItemClickListeneris enabled
-
itemSelect
public void itemSelect(boolean itemSelect) Specifies if the sensor forAdapterView.OnItemSelectedListeneris enabled.The default value is true.
- Parameters:
itemSelect- true, if the sensor forAdapterView.OnItemSelectedListeneris enabled
-
pageChange
public void pageChange(boolean pageChange) Specifies if the sensor forViewPager.OnPageChangeListeneris enabled.The default value is true.
- Parameters:
pageChange- true, if the sensor forViewPager.OnPageChangeListeneris enabled
-
refresh
public void refresh(boolean refresh) Specifies if the sensor forSwipeRefreshLayout.OnRefreshListeneris enabled.The default value is true.
- Parameters:
refresh- true, if the sensor forSwipeRefreshLayout.OnRefreshListeneris enabled
-
optionSelect
public void optionSelect(boolean optionSelect) Specifies if the sensor forActivity#onOptionsItemSelectedis enabled.The default value is true.
- Parameters:
optionSelect- true, if the sensor forActivity#onOptionsItemSelectedis enabled
-
isClick
public boolean isClick()Specifies if the sensor forView.OnClickListeneris enabled.The default value is true.
- Specified by:
isClickin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
View.OnClickListeneris enabled
-
isItemClick
public boolean isItemClick()Specifies if the sensor forAdapterView.OnItemClickListeneris enabled.The default value is true.
- Specified by:
isItemClickin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
AdapterView.OnItemClickListeneris enabled
-
isItemSelect
public boolean isItemSelect()Specifies if the sensor forAdapterView.OnItemSelectedListeneris enabled.The default value is true.
- Specified by:
isItemSelectin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
AdapterView.OnItemSelectedListeneris enabled
-
isMenuClick
public boolean isMenuClick()Specifies if the sensor forMenuItem.OnMenuItemClickListeneris enabled.The default value is true.
- Specified by:
isMenuClickin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
MenuItem.OnMenuItemClickListeneris enabled
-
isPageChange
public boolean isPageChange()Specifies if the sensor forViewPager.OnPageChangeListeneris enabled.The default value is true.
- Specified by:
isPageChangein interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
ViewPager.OnPageChangeListeneris enabled
-
isRefresh
public boolean isRefresh()Specifies if the sensor forSwipeRefreshLayout.OnRefreshListeneris enabled.The default value is true.
- Specified by:
isRefreshin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
SwipeRefreshLayout.OnRefreshListeneris enabled
-
isOptionSelect
public boolean isOptionSelect()Specifies if the sensor forActivity#onOptionsItemSelectedis enabled.The default value is true.
- Specified by:
isOptionSelectin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
Activity#onOptionsItemSelectedis enabled
-
composeClickable
public void composeClickable(boolean composeClickable) Specifies if the sensor forModifier.clickableis enabled.The default value is true.
- Parameters:
composeClickable- true, if the sensor forModifier.clickableis enabled- Since:
- 8.263
-
composeSwipeable
public void composeSwipeable(boolean composeSwipeable) Specifies if the sensor forModifier.swipeableis enabled.The default value is true.
- Parameters:
composeSwipeable- true, if the sensor forModifier.swipeableis 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 forandroidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled.The default value is true.
- Parameters:
composeSlider- true, if the sensor forandroidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled- Since:
- 8.267
-
composePullRefresh
public void composePullRefresh(boolean composePullRefresh) Specifies if the sensor forModifier#pullRefreshis enabled.The default value is true.
- Parameters:
composePullRefresh- true, if the sensor forModifier#pullRefreshis enabled- Since:
- 8.267
-
composePager
public void composePager(boolean composePager) Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled.The default value is true.
- Parameters:
composePager- true, if the sensor forandroidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled- Since:
- 8.267
-
isComposeClickable
public boolean isComposeClickable()Specifies if the sensor forModifier.clickableis enabled.The default value is true.
- Specified by:
isComposeClickablein interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
Modifier.clickableis enabled - Since:
- 8.263
-
isComposeSwipeable
public boolean isComposeSwipeable()Specifies if the sensor forModifier.swipeableis enabled.The default value is true.
- Specified by:
isComposeSwipeablein interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
Modifier.swipeableis enabled - Since:
- 8.263
-
isComposeSemantics
public boolean isComposeSemantics()Specifies if the sensor for semantic information is enabled.The default value is true.
- Specified by:
isComposeSemanticsin interfacecom.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 forandroidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled.The default value is true.
- Specified by:
isComposeSliderin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
androidx.compose.material.Sliderandandroidx.compose.material.RangeSlideris enabled - Since:
- 8.267
-
isComposePullRefresh
public boolean isComposePullRefresh()Specifies if the sensor forModifier#pullRefreshis enabled.The default value is true.
- Specified by:
isComposePullRefreshin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
Modifier#pullRefreshis enabled - Since:
- 8.267
-
isComposePager
public boolean isComposePager()Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled.The default value is true.
- Specified by:
isComposePagerin interfacecom.dynatrace.tools.android.api.UserActionSensors- Returns:
- true, if the sensor for
androidx.compose.foundation.pager#VerticalPagerandandroidx.compose.foundation.pager.HorizontalPageris enabled - Since:
- 8.267
-
hashCode
public int hashCode() -
equals
-
toString
-