Options
All
  • Public
  • Public/Protected
  • All
Menu

Defines what types of user interaction events should be captured.

Modes can be combined at will with the use of the with and without methods.

example

 Instrumentation.start({

     // ...your other parameters here...

     // Only enable "ButtonPressed" and "EditTextSelected" interaction modes, and disable the rest.
     interactionCaptureMode: InteractionCaptureMode.None.with(
         InteractionCaptureMode.ButtonPressed,
         InteractionCaptureMode.EditTextSelected
     )
 })
see

AgentConfiguration.interactionCaptureMode

Hierarchy

  • InteractionCaptureMode

Index

Constructors

Private constructor

Properties

Readonly mask

mask: number

Static Readonly All

All: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_ALL)

Track all the interactions agent support.

Static Readonly ButtonPressed

ButtonPressed: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_BUTTON_PRESSED)

Track button presses.

Static Readonly ListViewItemSelected

ListViewItemSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_LIST_VIEW_ITEM_SELECTED)

Track List Item clicks and focus changes for android.widget.AbsListView and its subclasses. (android only)

Static Readonly None

None: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_NONE)

Do not track any user interactions.

Static Readonly TableCellSelected

TableCellSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_TABLE_CELL_SELECTED)

Track table cell selection. (iOS only)

Static Readonly TextFieldSelected

TextFieldSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_TEXT_FIELD_SELECTED)

Track text field selection.

Static Readonly TextViewSelected

TextViewSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_TEXT_VIEW_SELECTED)

Track text view selection. (iOS only)

Methods

with

  • Combines multiple modes together. This does not mutate the object.

    Parameters

    Returns InteractionCaptureMode

    The combination of this mode with the modes passed in argument.

without

  • Excludes modes together from this mode. This does not mutate the object.

    Parameters

    Returns InteractionCaptureMode

    The current set of modes minus the modes passed in argument.

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc