![]() |
Alexa Auto SDK
2.0.0
|
Public Member Functions | |
virtual bool | setDestination (const std::string &payload)=0 |
virtual bool | cancelNavigation ()=0 |
virtual std::string | getNavigationState ()=0 |
Navigation should be extended to handle navigation directives from the Engine.
|
pure virtual |
Notifies the platform implementation to set the navigation destination
[in] | payload | JSON data containing the destination information ) "destination": { "coordinate": { "latitudeInDegrees": {{DOUBLE}}, "longitudeInDegrees": {{DOUBLE}} }, "name": "{{STRING}}", "singleLineDisplayAddress": "{{STRING}}" "multipleLineDisplayAddress": "{{STRING}}", }, "transportationMode": "{{STRING}}", "metadata": { "hoursOfOperation": [ { "dayOfWeek": "{{STRING}}", "hours": [{ "open": "{{STRING}}" "close": "{{STRING}}" }], "status": "{{STRING}}" }, { "dayOfWeek": "{{STRING}}", "hours": [{ "open": "{{STRING}}" "close": "{{STRING}}" }], "status": "{{STRING}}" }, ... ... ], "phoneNumber": "{{STRING}}" }
|
true
if the platform implementation successfully handled the call, else false
|
pure virtual |
Notifies the platform implementation to cancel navigation
true
if the platform implementation successfully handled the call, else false
|
pure virtual |
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