IntentFilter.AddDataType(String) Method

Definition

Add a new Intent data type to match against.

[Android.Runtime.Register("addDataType", "(Ljava/lang/String;)V", "")]
public void AddDataType (string? type);
[<Android.Runtime.Register("addDataType", "(Ljava/lang/String;)V", "")>]
member this.AddDataType : string -> unit

Parameters

type
String

Name of the data type to match, such as "vnd.android.cursor.dir/person".

Attributes

Exceptions

Remarks

Java documentation for android.content.IntentFilter.addDataType(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

See also

  • <xref:Android.Content.IntentFilter.MatchData(System.String%2c+System.String%2c+System.String)>