IntentFilter.HasDataScheme(String) Method

Definition

Is the given data scheme included in the filter? Note that if the filter does not include any scheme, false will <em>always</em> be returned.

[Android.Runtime.Register("hasDataScheme", "(Ljava/lang/String;)Z", "")]
public bool HasDataScheme (string? scheme);
[<Android.Runtime.Register("hasDataScheme", "(Ljava/lang/String;)Z", "")>]
member this.HasDataScheme : string -> bool

Parameters

scheme
String

The data scheme to look for.

Returns

True if the scheme is explicitly mentioned in the filter.

Attributes

Remarks

Is the given data scheme included in the filter? Note that if the filter does not include any scheme, false will <em>always</em> be returned.

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