Sdílet prostřednictvím


ContactsContract.SearchSnippets.Snippet Field

Definition

The search snippet constructed by SQLite snippeting functionality.

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

Field Value

Attributes

Remarks

The search snippet constructed by SQLite snippeting functionality.

The snippet may contain (parts of) several data elements belonging to the contact, with the matching parts optionally surrounded by special characters that indicate the start and end of matching text.

For example, if a contact has an address "123 Main Street", using a filter "mai" would return the formatted snippet "123 [Mai]n street".

Java documentation for android.provider.ContactsContract.SearchSnippets.SNIPPET.

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