onComplete abstract method

void onComplete(
  1. OfflineSearchIndexError? error
)

Called after index creation or deletion has been completed.

Invoked on the main thread.

  • error Represents an error in case of a failure. It is null for an operation that succeeds.

Implementation

void onComplete(OfflineSearchIndexError? error);