Udostępnij za pośrednictwem


IntentFilter.HasDataSchemeSpecificPart(String) Method

Definition

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

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

Parameters

data
String

The scheme specific part that is being looked for.

Returns

Returns true if the data string matches a scheme specific part listed in the filter.

Attributes

Remarks

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

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