public interface LatencyRecorder
Modifier and Type | Method and Description |
---|---|
static LatencyRecorder |
getInstance() |
void |
recordLatencyAwareAction(Editor editor,
java.lang.String actionId,
long timestampMs)
Records the timestamp of an action that should be reflected in the typing latency report (affects the editor and does not show any
additional modal UI)
|
void recordLatencyAwareAction(Editor editor, java.lang.String actionId, long timestampMs)
editor
- the editor in which the action was executed.actionId
- the ID to include in the reporttimestampMs
- Timestamp (System.currentTimeMillis) when the event triggering the action has occurredstatic LatencyRecorder getInstance()