Capabilities

public interface Capabilities

androidx.appsearch.app.Capabilities


A class that encapsulates all features that are only supported with certain combinations of backend and Android API Level.

Summary

Public methods

abstract boolean isSubmatchSupported()

Returns whether or not SearchResult.MatchInfo.getSubmatchRange() and SearchResult.MatchInfo.getSubmatch() are available.

Public methods

isSubmatchSupported

public abstract boolean isSubmatchSupported ()

Returns whether or not SearchResult.MatchInfo.getSubmatchRange() and SearchResult.MatchInfo.getSubmatch() are available.

Returns
boolean