UriMatcherCompat

Added in 1.9.0

public class UriMatcherCompat


Helper for accessing UriMatcher to create Uri Predicate.

Summary

Public methods

static @NonNull Predicate<Uri>

Creates a Uri predicate from a UriMatcher.

Public methods

asPredicate

Added in 1.9.0
public static @NonNull Predicate<UriasPredicate(@NonNull UriMatcher matcher)

Creates a Uri predicate from a UriMatcher.

Parameters
@NonNull UriMatcher matcher

the uriMatcher.

Returns
@NonNull Predicate<Uri>

the predicate created from the uriMatcher.