1 /* 2 * Copyright (C) 2010 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.common; 18 19 /** 20 * Utilities for search implementations. 21 * 22 * @see android.app.SearchManager 23 */ 24 public class Search { 25 26 /** 27 * Key for the source identifier set by the application that launched a search intent. 28 * The identifier is search-source specific string. It can be used 29 * by the search provider to keep statistics of where searches are started from. 30 * 31 * The source identifier is stored in the {@link android.app.SearchManager#APP_DATA} 32 * Bundle in {@link android.content.Intent#ACTION_SEARCH} and 33 * {@link android.content.Intent#ACTION_WEB_SEARCH} intents. 34 */ 35 public final static String SOURCE = "source"; 36 37 private Search() { } // don't instantiate 38 } 39