diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:37 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-07-07 05:19:37 +0000 |
commit | df790e56c8f7d2a45d612b1eb6409c2e3fd4eeb6 (patch) | |
tree | a729ed1d2538977e1f4007efefbf842cf61df5c0 /src/com/android/quicksearchbox/SuggestionExtras.java | |
parent | 0831985355c5aaf222a76402a082498ba52c0f7d (diff) | |
parent | 1c5d34d5176f212b7abc0192fc724f88c75de622 (diff) | |
download | QuickSearchBox-android14-mainline-sdkext-release.tar.gz |
Snap for 10453563 from 1c5d34d5176f212b7abc0192fc724f88c75de622 to mainline-sdkext-releaseaml_sdk_341710000aml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010android14-mainline-sdkext-release
Change-Id: I822e2a27d322258896fa55777c82b51313013aaf
Diffstat (limited to 'src/com/android/quicksearchbox/SuggestionExtras.java')
-rw-r--r-- | src/com/android/quicksearchbox/SuggestionExtras.java | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/src/com/android/quicksearchbox/SuggestionExtras.java b/src/com/android/quicksearchbox/SuggestionExtras.java deleted file mode 100644 index 263c808..0000000 --- a/src/com/android/quicksearchbox/SuggestionExtras.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright (C) 2010 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.android.quicksearchbox; - -import org.json.JSONException; - -import java.util.Collection; - -/** - * Extra data that can be attached to a suggestion. - */ -public interface SuggestionExtras { - - /** - * Return the names of custom columns present in these extras. - */ - Collection<String> getExtraColumnNames(); - - /** - * @param columnName The column to get a value from. - */ - String getExtra(String columnName); - - /** - * Flatten these extras as a JSON object. - */ - String toJsonString() throws JSONException; - -} |