Compartilhar via


SearchManager.SuggestColumnResultCardImage Field

Definition

Column name for suggestions cursor.

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

Field Value

Attributes

Remarks

Column name for suggestions cursor. Optional. If your cursor includes this column, then the image will be displayed when forming the suggestion. The suggested dimension for the image is 270x400 px for portrait mode and 400x225 px for landscape mode. 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_RESULT_CARD_IMAGE.

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