Condividi tramite


SearchManager.SuggestColumnIcon2 Field

Definition

Column name for suggestions cursor.

[Android.Runtime.Register("SUGGEST_COLUMN_ICON_2")]
public const string SuggestColumnIcon2;
[<Android.Runtime.Register("SUGGEST_COLUMN_ICON_2")>]
val mutable SuggestColumnIcon2 : string

Field Value

Attributes

Remarks

Column name for suggestions cursor. Optional. If your cursor includes this column, then all suggestions will be provided in a format that includes space for two small icons, one at the left and one at the right of each suggestion. The data in the column must be a resource ID of a drawable, or a URI in one of the following formats:

<ul> <li>content (android.content.ContentResolver#SCHEME_CONTENT)</li> <li>android.resource (android.content.ContentResolver#SCHEME_ANDROID_RESOURCE)</li> <li>file (android.content.ContentResolver#SCHEME_FILE)</li> </ul>

See android.content.ContentResolver#openAssetFileDescriptor(Uri, String) for more information on these schemes.

Java documentation for android.app.SearchManager.SUGGEST_COLUMN_ICON_2.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to