IntentFilter.AddAction(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add a new Intent action to match against.
[Android.Runtime.Register("addAction", "(Ljava/lang/String;)V", "")]
public void AddAction (string? action);
[<Android.Runtime.Register("addAction", "(Ljava/lang/String;)V", "")>]
member this.AddAction : string -> unit
Parameters
- action
- String
Name of the action to match, such as Intent.ACTION_VIEW.
- Attributes
Remarks
Add a new Intent action to match against. If any actions are included in the filter, then an Intent's action must be one of those values for it to match. If no actions are included, the Intent action is ignored.
Java documentation for android.content.IntentFilter.addAction(java.lang.String)
.
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.