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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
click
(boolean click) Specifies if the sensor forView.OnClickListener
is enabled.void
composeClickable
(boolean composeClickable) Specifies if the sensor forModifier.clickable
is enabled.void
composePager
(boolean composePager) Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled.void
composePullRefresh
(boolean composePullRefresh) Specifies if the sensor forModifier#pullRefresh
is enabled.void
composeSemantics
(boolean composeSemantics) Specifies if the sensor for semantic information is enabled.void
composeSlider
(boolean composeSlider) Specifies if the sensor forandroidx.compose.material.Slider
andandroidx.compose.material.RangeSlider
is enabled.void
composeSwipeable
(boolean composeSwipeable) Specifies if the sensor forModifier.swipeable
is enabled.boolean
int
hashCode()
boolean
isClick()
Specifies if the sensor forView.OnClickListener
is enabled.boolean
Specifies if the sensor forModifier.clickable
is enabled.boolean
Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled.boolean
Specifies if the sensor forModifier#pullRefresh
is enabled.boolean
Specifies if the sensor for semantic information is enabled.boolean
Specifies if the sensor forandroidx.compose.material.Slider
andandroidx.compose.material.RangeSlider
is enabled.boolean
Specifies if the sensor forModifier.swipeable
is enabled.boolean
Specifies if the sensor forAdapterView.OnItemClickListener
is enabled.boolean
Specifies if the sensor forAdapterView.OnItemSelectedListener
is enabled.boolean
Specifies if the sensor forMenuItem.OnMenuItemClickListener
is enabled.boolean
Specifies if the sensor forActivity#onOptionsItemSelected
is enabled.boolean
Specifies if the sensor forViewPager.OnPageChangeListener
is enabled.boolean
Specifies if the sensor forSwipeRefreshLayout.OnRefreshListener
is enabled.void
itemClick
(boolean itemClick) Specifies if the sensor forAdapterView.OnItemClickListener
is enabled.void
itemSelect
(boolean itemSelect) Specifies if the sensor forAdapterView.OnItemSelectedListener
is enabled.void
menuClick
(boolean menuClick) Specifies if the sensor forMenuItem.OnMenuItemClickListener
is enabled.void
optionSelect
(boolean optionSelect) Specifies if the sensor forActivity#onOptionsItemSelected
is enabled.void
pageChange
(boolean pageChange) Specifies if the sensor forViewPager.OnPageChangeListener
is enabled.void
refresh
(boolean refresh) Specifies if the sensor forSwipeRefreshLayout.OnRefreshListener
is enabled.toString()
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
-
UserActionSensors
public UserActionSensors()Creates newUserActionSensors
.
-
-
Method Details
-
click
public void click(boolean click) Specifies if the sensor forView.OnClickListener
is enabled.The default value is true.
- Parameters:
click
- true, if the sensor forView.OnClickListener
is enabled
-
itemClick
public void itemClick(boolean itemClick) Specifies if the sensor forAdapterView.OnItemClickListener
is enabled.The default value is true.
- Parameters:
itemClick
- true, if the sensor forAdapterView.OnItemClickListener
is enabled
-
itemSelect
public void itemSelect(boolean itemSelect) Specifies if the sensor forAdapterView.OnItemSelectedListener
is enabled.The default value is true.
- Parameters:
itemSelect
- true, if the sensor forAdapterView.OnItemSelectedListener
is enabled
-
pageChange
public void pageChange(boolean pageChange) Specifies if the sensor forViewPager.OnPageChangeListener
is enabled.The default value is true.
- Parameters:
pageChange
- true, if the sensor forViewPager.OnPageChangeListener
is enabled
-
refresh
public void refresh(boolean refresh) Specifies if the sensor forSwipeRefreshLayout.OnRefreshListener
is enabled.The default value is true.
- Parameters:
refresh
- true, if the sensor forSwipeRefreshLayout.OnRefreshListener
is enabled
-
optionSelect
public void optionSelect(boolean optionSelect) Specifies if the sensor forActivity#onOptionsItemSelected
is enabled.The default value is true.
- Parameters:
optionSelect
- true, if the sensor forActivity#onOptionsItemSelected
is enabled
-
isClick
public boolean isClick()Specifies if the sensor forView.OnClickListener
is enabled.The default value is true.
- Specified by:
isClick
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
View.OnClickListener
is enabled
-
isItemClick
public boolean isItemClick()Specifies if the sensor forAdapterView.OnItemClickListener
is enabled.The default value is true.
- Specified by:
isItemClick
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
AdapterView.OnItemClickListener
is enabled
-
isItemSelect
public boolean isItemSelect()Specifies if the sensor forAdapterView.OnItemSelectedListener
is enabled.The default value is true.
- Specified by:
isItemSelect
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
AdapterView.OnItemSelectedListener
is enabled
-
isMenuClick
public boolean isMenuClick()Specifies if the sensor forMenuItem.OnMenuItemClickListener
is enabled.The default value is true.
- Specified by:
isMenuClick
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
MenuItem.OnMenuItemClickListener
is enabled
-
isPageChange
public boolean isPageChange()Specifies if the sensor forViewPager.OnPageChangeListener
is enabled.The default value is true.
- Specified by:
isPageChange
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
ViewPager.OnPageChangeListener
is enabled
-
isRefresh
public boolean isRefresh()Specifies if the sensor forSwipeRefreshLayout.OnRefreshListener
is enabled.The default value is true.
- Specified by:
isRefresh
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
SwipeRefreshLayout.OnRefreshListener
is enabled
-
isOptionSelect
public boolean isOptionSelect()Specifies if the sensor forActivity#onOptionsItemSelected
is enabled.The default value is true.
- Specified by:
isOptionSelect
in interfacecom.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 forModifier.clickable
is enabled.The default value is true.
- Parameters:
composeClickable
- true, if the sensor forModifier.clickable
is enabled- Since:
- 8.263
-
composeSwipeable
public void composeSwipeable(boolean composeSwipeable) Specifies if the sensor forModifier.swipeable
is enabled.The default value is true.
- Parameters:
composeSwipeable
- true, if the sensor forModifier.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 forandroidx.compose.material.Slider
andandroidx.compose.material.RangeSlider
is enabled.The default value is true.
- Parameters:
composeSlider
- true, if the sensor forandroidx.compose.material.Slider
andandroidx.compose.material.RangeSlider
is enabled- Since:
- 8.267
-
composePullRefresh
public void composePullRefresh(boolean composePullRefresh) Specifies if the sensor forModifier#pullRefresh
is enabled.The default value is true.
- Parameters:
composePullRefresh
- true, if the sensor forModifier#pullRefresh
is enabled- Since:
- 8.267
-
composePager
public void composePager(boolean composePager) Specifies if the sensor forandroidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled.The default value is true.
- Parameters:
composePager
- true, if the sensor forandroidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled- Since:
- 8.267
-
isComposeClickable
public boolean isComposeClickable()Specifies if the sensor forModifier.clickable
is enabled.The default value is true.
- Specified by:
isComposeClickable
in interfacecom.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 forModifier.swipeable
is enabled.The default value is true.
- Specified by:
isComposeSwipeable
in interfacecom.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 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.Slider
andandroidx.compose.material.RangeSlider
is enabled.The default value is true.
- Specified by:
isComposeSlider
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
androidx.compose.material.Slider
andandroidx.compose.material.RangeSlider
is enabled - Since:
- 8.267
-
isComposePullRefresh
public boolean isComposePullRefresh()Specifies if the sensor forModifier#pullRefresh
is enabled.The default value is true.
- Specified by:
isComposePullRefresh
in interfacecom.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 forandroidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled.The default value is true.
- Specified by:
isComposePager
in interfacecom.dynatrace.tools.android.api.UserActionSensors
- Returns:
- true, if the sensor for
androidx.compose.foundation.pager#VerticalPager
andandroidx.compose.foundation.pager.HorizontalPager
is enabled - Since:
- 8.267
-
hashCode
public int hashCode() -
equals
-
toString
-