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

mask

mask: number

Static All

All: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_ALL)

Track all the interactions agent support.

Static ButtonPressed

ButtonPressed: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_BUTTON_PRESSED)

Track button presses.

Static 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 None

None: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_NONE)

Do not track any user interactions.

Static TableCellSelected

TableCellSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_TABLE_CELL_SELECTED)

Track table cell selection. (iOS only)

Static TextFieldSelected

TextFieldSelected: InteractionCaptureMode = new InteractionCaptureMode(InstrumentationConstants.INTERACTION_CAPTURE_MODE_TEXT_FIELD_SELECTED)

Track text field selection.

Static 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

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc