NavigationUpdatesOptions

public abstract class NavigationUpdatesOptions extends Object

Defines the options used when reporting navigation updates to a service.

THIS API IS A PREVIEW RELEASE.
IT IS SUBJECT TO CHANGE AND BACKWARD COMPATIBILITY IS NOT GUARANTEED

Nested Class Summary

class NavigationUpdatesOptions.Builder A builder of NavigationUpdatesOptions
@interface NavigationUpdatesOptions.GeneratedStepImagesType Represents the format in which StepInfo maneuver and lane guidance images will be generated. 

Public Constructor Summary

Public Method Summary

static NavigationUpdatesOptions.Builder
builder()
Returns a new Builder instance that allows building new NavigationUpdatesOptions objects.
abstract DisplayMetrics
displayMetrics()
The display metrics used to scale generated resources.
abstract int
generatedStepImagesType()
The image type to generate.
abstract int
numNextStepsToPreview()
The number of next navigation steps in the route that are sent at each update if available, following the current step.

Inherited Method Summary

Public Constructors

public NavigationUpdatesOptions ()

Public Methods

public static NavigationUpdatesOptions.Builder builder ()

Returns a new Builder instance that allows building new NavigationUpdatesOptions objects.

public abstract DisplayMetrics displayMetrics ()

The display metrics used to scale generated resources.

public abstract int generatedStepImagesType ()

The image type to generate. NOTE: When enabled, images are generated by Navigation SDK at runtime and may impact the overall performance.

public abstract int numNextStepsToPreview ()

The number of next navigation steps in the route that are sent at each update if available, following the current step.