onCapture method

void onCapture(
  1. String reason
)

A capture-worthy event happened (scroll settle, tap, route change, overlay).

Implementation

void onCapture(String reason) {
  if (!ActionGates.instance.localCacheEnabled) return;
  if (_sources.isEmpty) return;
  if (_scheduleSharedCapture()) return;
  _armCapture();
}