get

abstract fun get(queryCriteria: LensesComponent.Repository.QueryCriteria, onResult: Consumer<LensesComponent.Repository.Result>)

Submits a query for QueryCriteria to receive the most up-to-date results into the provided onResult callback. When querying for multiple groups via QueryCriteria.Available it is not guaranteed that results will contain data for all underlying lens group sources - some maybe empty in case of network errors etc. To avoid incomplete data, prefer continuous observation of a specific QueryCriteria through observe.