![]() |
Alexa Auto SDK
2.0.0
|
Public Member Functions | |
virtual bool | addName (const std::string &entryId, const std::string &name)=0 |
virtual bool | addName (const std::string &entryId, const std::string &firstName, const std::string &lastName)=0 |
virtual bool | addName (const std::string &entryId, const std::string &firstName, const std::string &lastName, const std::string &nickname)=0 |
virtual bool | addPhone (const std::string &entryId, const std::string &label, const std::string &number)=0 |
virtual bool | addPostalAddress (const std::string &entryId, const std::string &label, const std::string &addressLine1, const std::string &addressLine2, const std::string &addressLine3, const std::string &city, const std::string &stateOrRegion, const std::string &districtOrCounty, const std::string &postalCode, const std::string &country, float latitudeInDegrees, float longitudeInDegrees, float accuracyInMeters)=0 |
Factory class for ingesting the AddressBook Entries.
|
pure virtual |
Add name.
[in] | entryId | A unique identifier of entry in an address book. |
[in] | name | Name of the entry, or an empty string if not available. |
true
on successful or false
when name for the id was already added or if entryId is empty.
|
pure virtual |
Add first and last name.
[in] | entryId | A unique identifier of entry in an address book. |
[in] | firstName | First name of the entry, or an empty string if not available. |
[in] | lastName | Last name of the entry, or an empty string if not available. |
true
on successful or false
when name for the id was already added or if entryId is empty.
|
pure virtual |
Add first, last and nick name.
[in] | entryId | A unique identifier of entry in an address book. |
[in] | firstName | First name of the entry, or an empty string if not available. |
[in] | lastName | Last name of the entry, or an empty string if not available. |
[in] | nickName | Nick name of the entry, or an empty string if not available. |
true
on successful or false
when name for the id was already added or if entryId is empty.
|
pure virtual |
Add phone number(s).
[in] | entryId | A unique identifier of entry in an address book. |
[in] | label | Alphanumeric phone label (Example: HOME, MOBILE), or an empty string if not available. |
[in] | number | Numeric phone number, or an empty string if not available. |
true
on successful or false
when reached the max allowed per entryId or if entryId is empty.
|
pure virtual |
Add postal address(es).
[in] | entryId | A unique identifier of entry in an address book. |
[in] | label | Alphanumeric postal address label (Example: HOME, WORK), or an empty string if not available. |
[in] | addressLine1 | First line of the postal address, or an empty string if not available. |
[in] | addressLine2 | Second line of the postal address, or an empty string if not available. |
[in] | addressLine3 | Third line of the postal address, or an empty string if not available. |
[in] | city | City name, or an empty string if not available. |
[in] | stateOrRegion | State or Region name, or an empty string if not available. |
[in] | districtOrCounty | District or County name, or an empty string if not available. |
[in] | postalCode | Postal code or Zip code, or an empty string if not available. |
[in] | country | Country name, or an empty string if not available. |
[in] | latitudeInDegrees | Geo latitude in degrees. |
[in] | longitudeInDegrees | Geo longitute in degrees. |
[in] | accuracyInMeters | Accuracy in meters, or zero if not available. |
true
on successful or false
when reached the max allowed per id or if entryId is empty. 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