Android APIs
public static interface

AutocompletePrediction.Substring

com.google.android.gms.location.places.AutocompletePrediction.Substring

This interface is deprecated.
Please use getFullText(CharacterStyle) to format matches more easily

Class Overview

Represents a matched substring in a query suggestion's description.

Each AutocompletePrediction.Substring contains an offset value and a length. These describe the location of the entered term in the prediction result text, so that the term can be highlighted if desired.

Summary

Public Methods
abstract int getLength()
abstract int getOffset()

Public Methods

public abstract int getLength ()

public abstract int getOffset ()