Sdílet prostřednictvím


SearchManager.ActionKey Field

Definition

Intent extra data key: Use this key with Intent.

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

Field Value

Attributes

Remarks

Intent extra data key: Use this key with Intent.ACTION_SEARCH and android.content.Intent#getIntExtra content.Intent.getIntExtra() to obtain the keycode that the user used to trigger this query. It will be zero if the user simply pressed the "GO" button on the search UI. This is primarily used in conjunction with the keycode attribute in the actionkey element of your searchable.xml configuration file.

Java documentation for android.app.SearchManager.ACTION_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