Udostępnij za pośrednictwem


ContactsContract.SearchSnippets.DeferredSnippetingKey Field

Definition

The key to ask the provider to defer the formatting of the snippet to the client if possible, for performance reasons.

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

Field Value

Attributes

Remarks

The key to ask the provider to defer the formatting of the snippet to the client if possible, for performance reasons. A value of 1 indicates true, 0 indicates false. False is the default. When a cursor is returned to the client, it should check for an extra with the name ContactsContract#DEFERRED_SNIPPETING in the cursor. If it exists, the client should do its own formatting of the snippet. If it doesn't exist, the snippet column in the cursor should already contain a formatted snippet.

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

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