다음을 통해 공유


IntentFilter.AddUriRelativeFilterGroup(UriRelativeFilterGroup) Method

Definition

Add a new URI relative filter group to match against the Intent data.

[Android.Runtime.Register("addUriRelativeFilterGroup", "(Landroid/content/UriRelativeFilterGroup;)V", "", ApiSince=35)]
public void AddUriRelativeFilterGroup (Android.Content.UriRelativeFilterGroup group);
[<Android.Runtime.Register("addUriRelativeFilterGroup", "(Landroid/content/UriRelativeFilterGroup;)V", "", ApiSince=35)>]
member this.AddUriRelativeFilterGroup : Android.Content.UriRelativeFilterGroup -> unit

Parameters

group
UriRelativeFilterGroup

A UriRelativeFilterGroup to match the URI.

Attributes

Remarks

Add a new URI relative filter group to match against the Intent data. The intent filter must include one or more schemes (via #addDataScheme) <em>and</em> one or more authorities (via #addDataAuthority) for the group to be considered.

Groups will be matched in the order they were added and matching will only be done if no data paths match or if none are included. If both data paths and groups are not included, then only the scheme/authority must match.

Java documentation for android.content.IntentFilter.addUriRelativeFilterGroup(android.content.UriRelativeFilterGroup).

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