Navigator.AudioGuidance

public static abstract @interface Navigator.AudioGuidance implements Annotation

AudioGuidance is a set of flags used to specify what kinds of audio alerts and guidance are used during navigation.

Constant Summary

int BLUETOOTH_AUDIO Specifies that voice guidance should be transmitted over Bluetooth if available.
int SILENT Specifies that voice guidance and vibrations should be disabled.
int VIBRATION Specifies that vibrations should be enabled.
int VOICE_ALERTS_AND_GUIDANCE Specifies that voice should be enabled for both alerts and turn-by-turn guidance instructions.
int VOICE_ALERTS_ONLY Specifies that voice should be enabled for alerts only (e.g., traffic incidents) but not for turn-by-turn guidance instructions.

Inherited Method Summary

Constants

public static final int BLUETOOTH_AUDIO

Specifies that voice guidance should be transmitted over Bluetooth if available. This flag must be combined with VOICE_ALERTS_ONLY or VOICE_ALERTS_AND_GUIDANCE to have any effect.

Constant Value: 8

public static final int SILENT

Specifies that voice guidance and vibrations should be disabled. This flag should always be specified by itself; it is a mistake to combine this with any other Navigator.AudioGuidance flags.

Constant Value: 0

public static final int VIBRATION

Specifies that vibrations should be enabled.

Constant Value: 1

public static final int VOICE_ALERTS_AND_GUIDANCE

Specifies that voice should be enabled for both alerts and turn-by-turn guidance instructions. Note that this value alone will not allow voice guidance to be played over Bluetooth; to enable that, BLUETOOTH_AUDIO should be added.

Constant Value: 4

public static final int VOICE_ALERTS_ONLY

Specifies that voice should be enabled for alerts only (e.g., traffic incidents) but not for turn-by-turn guidance instructions. Note that this value alone will not allow voice guidance to be played over Bluetooth; to enable that, BLUETOOTH_AUDIO should be added.

Constant Value: 2