Skip to content

RPActivityEventLogger

The information logger used in RPUIActivityStep. It fills and modifies a RPActivityResult with events from an activity.

Constructors

RPActivityEventLogger

RPActivityEventLogger(
  1. RPActivityResult result
)

Properties

result

RPActivityResult result
final

Methods

addCorrectGesture

void addCorrectGesture(
  1. String type,
  2. String description
)

Adds a correct gesture from the UI to the RPActivityResult with time, correctness, type and description.

addWrongGesture

void addWrongGesture(
  1. String type,
  2. String description
)

Adds a wrong gesture from the UI to the RPActivityResult with time, correctness, type and description.

instructionEnded

void instructionEnded()

Sets the time of ending the instruction stage

instructionStarted

void instructionStarted()

Sets the time of starting the instruction stage

resultsClosed

void resultsClosed()

Sets the time of ending the results stage

resultsShown

void resultsShown()

Sets the time of starting the results stage

testEnded

void testEnded()

Sets the time of ending the test stage

testShown

void testShown()

Sets the time of showing the test stage. The test might be delayed before it starts.

testStarted

void testStarted()

Sets the time of starting the test stage