1823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang/*
2823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * Copyright (C) 2010 The Android Open Source Project
3823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang *
4823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * Licensed under the Apache License, Version 2.0 (the "License");
5823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * you may not use this file except in compliance with the License.
6823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * You may obtain a copy of the License at
7823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang *
8823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang *      http://www.apache.org/licenses/LICENSE-2.0
9823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang *
10823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * Unless required by applicable law or agreed to in writing, software
11823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * distributed under the License is distributed on an "AS IS" BASIS,
12823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * See the License for the specific language governing permissions and
14823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * limitations under the License.
15823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang */
16823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang
17823b6f3516076b92f78c3fc27037d24bb514e653Ying Wangpackage com.android.common;
18823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang
19823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang/**
20823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * Utilities for search implementations.
21823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang *
22823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang * @see android.app.SearchManager
23823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang */
24823b6f3516076b92f78c3fc27037d24bb514e653Ying Wangpublic class Search {
25823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang
26823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang    /**
27823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * Key for the source identifier set by the application that launched a search intent.
28823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * The identifier is search-source specific string. It can be used
29823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * by the search provider to keep statistics of where searches are started from.
30823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     *
31823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * The source identifier is stored in the {@link android.app.SearchManager#APP_DATA}
32823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * Bundle in {@link android.content.Intent#ACTION_SEARCH} and
33823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     * {@link android.content.Intent#ACTION_WEB_SEARCH} intents.
34823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang     */
35823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang    public final static String SOURCE = "source";
36823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang
37823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang    private Search() { }   // don't instantiate
38823b6f3516076b92f78c3fc27037d24bb514e653Ying Wang}
39