IntentFilter.AsPredicateWithTypeResolution(ContentResolver) Method

Definition

Return a Predicate which tests whether this filter matches the given <var>intent</var>.

[Android.Runtime.Register("asPredicateWithTypeResolution", "(Landroid/content/ContentResolver;)Ljava/util/function/Predicate;", "GetAsPredicateWithTypeResolution_Landroid_content_ContentResolver_Handler", ApiSince=33)]
public virtual Java.Util.Functions.IPredicate AsPredicateWithTypeResolution (Android.Content.ContentResolver resolver);
[<Android.Runtime.Register("asPredicateWithTypeResolution", "(Landroid/content/ContentResolver;)Ljava/util/function/Predicate;", "GetAsPredicateWithTypeResolution_Landroid_content_ContentResolver_Handler", ApiSince=33)>]
abstract member AsPredicateWithTypeResolution : Android.Content.ContentResolver -> Java.Util.Functions.IPredicate
override this.AsPredicateWithTypeResolution : Android.Content.ContentResolver -> Java.Util.Functions.IPredicate

Parameters

resolver
ContentResolver

to be used when calling Intent#resolveType(ContentResolver) before matching.

Returns

Attributes

Remarks

Return a Predicate which tests whether this filter matches the given <var>intent</var>.

The intent's type will always be resolved by calling Intent#resolveType(ContentResolver) before matching.

Java documentation for android.content.IntentFilter.asPredicateWithTypeResolution(android.content.ContentResolver).

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