[OneSearch] Add onesearch plugin api to trigger image from URL.

Bug: 199289915
Test: manual

Change-Id: Ib96de90f87214ea7bd224d0c543cc9578527366e
This commit is contained in:
Becky Qiu 2021-10-27 18:47:46 -07:00
parent c1cdadf6ea
commit aa9a446b76
1 changed files with 3 additions and 0 deletions

View File

@ -40,4 +40,7 @@ public interface OneSearch extends Plugin {
* @param query The query to get the search suggests for.
*/
ArrayList<Parcelable> getSuggests(Parcelable query);
/** Get image bitmap with the URL. */
Parcelable getImageBitmap(String imageUrl);
}