Package 

Class SearchService.Options

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class SearchService.Options
     implements Parcelable
                        

    Holds the available search options and their current values.

    • Constructor Detail

      • SearchService.Options

        SearchService.Options(Boolean caseSensitive, Boolean diacriticSensitive, Boolean wholeWord, Boolean exact, String language, Boolean regularExpression, Map<String, String> otherOptions)
        Parameters:
        caseSensitive - Whether the search will differentiate between capital and lower-case letters.
        diacriticSensitive - Whether the search will differentiate between letters with accents or not.
        wholeWord - Whether the query terms will match full words and not parts of a word.
        exact - Matches results exactly as stated in the query terms, taking into account stop words, order and spelling.
        language - BCP 47 language code overriding the publication's language.
        regularExpression - The search string is treated as a regular expression.
        otherOptions - Map of custom options implemented by a Search Service which are not officially recognized by Readium.