Interface ModifiableUserAction
- Since:
- 8.189
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Cancels thisDTXAction
.Returns the name of the currently openUserAction
void
reportError
(String errorName, int errorCode) Reports an error with a specified name and error code.void
reportError
(String errorName, Throwable throwable) Reports an error with a specified name and aThrowable
.void
reportEvent
(String eventName) Reports an event with a specified name (but without any value).void
reportValue
(String valueName, double value) Reports adouble
value with a specified name.void
reportValue
(String valueName, int value) Reports anint
value with a specified name.void
reportValue
(String valueName, long value) Reports along
value with a specified name.void
reportValue
(String valueName, String value) Reports aString
value with a specified name.void
setActionName
(String actionName) Sets the name of the currently openUserAction
-
Method Details
-
getActionName
String getActionName()Returns the name of the currently openUserAction
- Returns:
- the name of the
UserAction
-
setActionName
Sets the name of the currently openUserAction
- Parameters:
actionName
- the new name for theUserAction
-
reportEvent
Reports an event with a specified name (but without any value).If given
eventName
isnull
or an empty String then no event is reported to the system.- Parameters:
eventName
- name of the event- See Also:
-
reportValue
Reports anint
value with a specified name.If given
valueName
isnull
or an empty String then no event is reported to the system.- Parameters:
valueName
- name of this valuevalue
- value itself- See Also:
-
reportValue
Reports along
value with a specified name.If given
valueName
isnull
or an empty String then no event is reported to the system.- Parameters:
valueName
- name of this valuevalue
- value itself- Since:
- 8.197
- See Also:
-
reportValue
Reports adouble
value with a specified name.If given
valueName
isnull
or an empty String then no event is reported to the system.- Parameters:
valueName
- name of this valuevalue
- value itself- See Also:
-
reportValue
Reports aString
value with a specified name.If given
valueName
isnull
or an empty String then no event is reported to the system.- Parameters:
valueName
- name of this valuevalue
- value itself Thevalue
can benull
or an empty String.- See Also:
-
reportError
Reports an error with a specified name and error code.If given
errorName
isnull
or an empty String then no event is reported to the system.- Parameters:
errorName
- name of this errorerrorCode
- numeric error code of this error- See Also:
-
reportError
Reports an error with a specified name and aThrowable
.If given
errorName
isnull
or an empty string then no event is reported to the system.- Parameters:
errorName
- name of this errorthrowable
-Throwable
causing this error- See Also:
-
cancel
void cancel()Cancels thisDTXAction
.Canceling an action is similar to
leaving an action
, except that the data and all unfinished child objects are discarded instead of being sent.- Since:
- 8.241
- See Also:
-