Package 

Interface CompatUserLookupHandler

    • Method Summary

      Modifier and Type Method Description
      abstract Function0<Unit> handleCompatUserLookup(String query, Function1<List<User>, Unit> callback) Handles user lookup by given query in suspend way.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • handleCompatUserLookup

         abstract Function0<Unit> handleCompatUserLookup(String query, Function1<List<User>, Unit> callback)

        Handles user lookup by given query in suspend way. It's executed on background, so it can perform heavy operations.

        Parameters:
        query - String as user input for lookup algorithm.
        callback - The callback to be invoked when the user lookup is completed.