Feature

  • Feature represents an object's metadata within the Navigation SDK context.

  • Data-driven styling features, including DatasetFeature and PlaceFeature, are unavailable in the Navigation SDK but exist for compatibility with play-services-maps.

  • Developers should avoid saving references to specific Feature objects due to instability.

  • The primary method, getFeatureType(), returns the feature's type.

public abstract class Feature extends Object
Known Direct Subclasses

Data-driven styling features are not available to the Navigation SDK. They exists for compile time compatibility with com.google.android.gms:play-services-maps only.

An object representing a feature's metadata. Do not save a reference to a particular feature object because the reference will not be stable.

Public Method Summary

String
getFeatureType()
Returns the FeatureType of the feature.

Inherited Method Summary

Public Methods

public String getFeatureType ()

Returns the FeatureType of the feature.