IntentFilter.AddAction(String) Method

Definition

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

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.

Applies to