NavigationVoiceAssistantCapabilities


@CarProtocol
@ExperimentalCarApi
@RequiresCarApi(value = 9)
class NavigationVoiceAssistantCapabilities


Represents the voice assistant capabilities of the navigation app.

This model is used to communicate to the host which voice actions and disruptions the navigation app can currently handle, as well as whether the user has granted consent for the navigation app to share its active routing state with the voice assistant.

Summary

Constants

const Int

Indicates support for allowing and avoiding ferries.

const Int

Indicates support for allowing and avoiding highways.

const Int

Indicates support for allowing and avoiding tolls.

const Int

Indicates support for clearing search results.

const Int

Indicates support for exiting navigation.

const Int

Indicates support for follow mode.

const Int

Indicates support for muting and unmuting voice guidance.

const Int

Indicates support for showing the route overview.

const Int

Indicates support for showing alternate routes.

const Int

Indicates support for showing the directions list.

const Int

Indicates support for showing the satellite view.

const Int

Indicates support for showing the traffic view.

const Int

Indicates an undefined or unknown action.

const Int

Indicates support for receiving reports for construction zones.

const Int

Indicates support for receiving reports for crashes.

const Int

Indicates support for receiving reports for flooding.

const Int

Indicates support for receiving reports for fog.

const Int

Indicates support for receiving reports for objects on the road.

const Int

Indicates support for receiving reports for police presence.

const Int

Indicates support for receiving reports for potholes.

const Int

Indicates support for receiving reports for road closures.

const Int

Indicates support for receiving reports for snow.

const Int

Indicates support for receiving reports for traffic jams.

const Int

Indicates an undefined or unknown disruption.

const Int

Indicates support for receiving reports for vehicles on the road.

Public functions

Boolean
equals(other: Any?)
(Mutable)Set<Int!>

Returns the set of voice assistant actions supported by the navigation app.

(Mutable)Set<Int!>

Returns the set of disruptions supported by the navigation app.

Int
Boolean

Returns whether the user has granted consent for the navigation app to share its state with the voice assistant.

String

Constants

ACTION_ALLOW_AND_AVOID_FERRIES

Added in 1.9.0-alpha01
const val ACTION_ALLOW_AND_AVOID_FERRIES = 1: Int

Indicates support for allowing and avoiding ferries.

ACTION_ALLOW_AND_AVOID_HIGHWAYS

Added in 1.9.0-alpha01
const val ACTION_ALLOW_AND_AVOID_HIGHWAYS = 2: Int

Indicates support for allowing and avoiding highways.

ACTION_ALLOW_AND_AVOID_TOLLS

Added in 1.9.0-alpha01
const val ACTION_ALLOW_AND_AVOID_TOLLS = 3: Int

Indicates support for allowing and avoiding tolls.

ACTION_CLEAR_SEARCH_RESULTS

Added in 1.9.0-alpha01
const val ACTION_CLEAR_SEARCH_RESULTS = 4: Int

Indicates support for clearing search results.

ACTION_EXIT_NAVIGATION

Added in 1.9.0-alpha01
const val ACTION_EXIT_NAVIGATION = 5: Int

Indicates support for exiting navigation.

ACTION_FOLLOW_MODE

Added in 1.9.0-alpha01
const val ACTION_FOLLOW_MODE = 6: Int

Indicates support for follow mode.

ACTION_MUTE_AND_UNMUTE

Added in 1.9.0-alpha01
const val ACTION_MUTE_AND_UNMUTE = 7: Int

Indicates support for muting and unmuting voice guidance.

ACTION_ROUTE_OVERVIEW

Added in 1.9.0-alpha01
const val ACTION_ROUTE_OVERVIEW = 8: Int

Indicates support for showing the route overview.

ACTION_SHOW_ALTERNATES

Added in 1.9.0-alpha01
const val ACTION_SHOW_ALTERNATES = 9: Int

Indicates support for showing alternate routes.

ACTION_SHOW_DIRECTIONS_LIST

Added in 1.9.0-alpha01
const val ACTION_SHOW_DIRECTIONS_LIST = 10: Int

Indicates support for showing the directions list.

ACTION_SHOW_SATELLITE

Added in 1.9.0-alpha01
const val ACTION_SHOW_SATELLITE = 11: Int

Indicates support for showing the satellite view.

ACTION_SHOW_TRAFFIC

Added in 1.9.0-alpha01
const val ACTION_SHOW_TRAFFIC = 12: Int

Indicates support for showing the traffic view.

ACTION_UNDEFINED

Added in 1.9.0-alpha01
const val ACTION_UNDEFINED = 0: Int

Indicates an undefined or unknown action.

DISRUPTION_REPORT_CONSTRUCTION

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_CONSTRUCTION = 1: Int

Indicates support for receiving reports for construction zones.

DISRUPTION_REPORT_CRASH

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_CRASH = 2: Int

Indicates support for receiving reports for crashes.

DISRUPTION_REPORT_FLOODING

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_FLOODING = 3: Int

Indicates support for receiving reports for flooding.

DISRUPTION_REPORT_FOG

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_FOG = 4: Int

Indicates support for receiving reports for fog.

DISRUPTION_REPORT_OBJECT_ON_ROAD

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_OBJECT_ON_ROAD = 5: Int

Indicates support for receiving reports for objects on the road.

DISRUPTION_REPORT_POLICE

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_POLICE = 6: Int

Indicates support for receiving reports for police presence.

DISRUPTION_REPORT_POTHOLE

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_POTHOLE = 7: Int

Indicates support for receiving reports for potholes.

DISRUPTION_REPORT_ROAD_CLOSURE

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_ROAD_CLOSURE = 8: Int

Indicates support for receiving reports for road closures.

DISRUPTION_REPORT_SNOW

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_SNOW = 9: Int

Indicates support for receiving reports for snow.

DISRUPTION_REPORT_TRAFFIC

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_TRAFFIC = 10: Int

Indicates support for receiving reports for traffic jams.

DISRUPTION_REPORT_UNDEFINED

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_UNDEFINED = 0: Int

Indicates an undefined or unknown disruption.

DISRUPTION_REPORT_VEHICLE

Added in 1.9.0-alpha01
const val DISRUPTION_REPORT_VEHICLE = 11: Int

Indicates support for receiving reports for vehicles on the road.

Public functions

equals

fun equals(other: Any?): Boolean

getSupportedActions

Added in 1.9.0-alpha01
fun getSupportedActions(): (Mutable)Set<Int!>

Returns the set of voice assistant actions supported by the navigation app.

getSupportedDisruptions

Added in 1.9.0-alpha01
fun getSupportedDisruptions(): (Mutable)Set<Int!>

Returns the set of disruptions supported by the navigation app.

hashCode

fun hashCode(): Int

isVoiceAssistantConsentGranted

Added in 1.9.0-alpha01
fun isVoiceAssistantConsentGranted(): Boolean

Returns whether the user has granted consent for the navigation app to share its state with the voice assistant.

toString

fun toString(): String