stopUserAction method

Future<void> stopUserAction(
  1. String name, {
  2. RUMAction action = RUMAction.tap,
})

Manually track a user event.

This is used to stop tracking long running user actions (e.g. "scroll"), started with startUserAction.

This is not invoked and resolves silently when using Flutter web.

Implementation

Future<void> stopUserAction(
  String name, {
  RUMAction action = RUMAction.tap,
}) async {
  return await channel.invokeMethod('rumStopUserAction', {
    'name': name,
    'type': action.index,
  });
}