![]() |
Alexa Auto SDK
2.0.0
|
Public Member Functions | |
boolean | setDestination (String payload) |
boolean | cancelNavigation () |
String | getNavigationState () |
Navigation should be extended to handle navigation directives from the Engine.
boolean com.amazon.aace.navigation.Navigation.setDestination | ( | String | payload | ) |
Notifies the platform implementation to set the navigation destination
payload | JSON data containing the destination information |
true
if the platform implementation successfully handled the call, else false
boolean com.amazon.aace.navigation.Navigation.cancelNavigation | ( | ) |
Notifies the platform implementation to cancel navigation
true
if the platform implementation successfully handled the call, else false
String com.amazon.aace.navigation.Navigation.getNavigationState | ( | ) |
Retrieve the navigation state from the platform. NOTE: You may return an empty string to default the payload to NOT_NAVIGATING
Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0