语言

SearchManager.ActionMsg 字段

定义

意向额外数据密钥:将此密钥用于Intent.ACTION_SEARCH和内容。Intent.getStringExtra() 获取为特定搜索操作键和/或建议定义的操作消息。

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

字段值

特性

注解

意向额外数据密钥:将此密钥用于Intent.ACTION_SEARCH和内容。Intent.getStringExtra() 获取为特定搜索操作键和/或建议定义的操作消息。 如果搜索是通过键入“enter”、触摸“GO”按钮或其他不涉及任何操作键的方式启动的,则为 null。

Android 参考。android.app.SearchManager.ACTION_MSG

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于