Alexa Auto SDK
4.3
|
Classes | |
class | IAddressBookEntriesFactory |
Public Member Functions | |
bool | addAddressBook (const std::string &addressBookSourceId, const std::string &name, AddressBookType type) |
bool | removeAddressBook (const std::string &addressBookSourceId) |
virtual bool | getEntries (const std::string &addressBookSourceId, std::weak_ptr< IAddressBookEntriesFactory > factory)=0 |
bool aace::addressBook::AddressBook::addAddressBook | ( | const std::string & | addressBookSourceId, |
const std::string & | name, | ||
AddressBookType | type | ||
) |
Notifies the engine on an availability of an address book
[in] | addressBookSourceId | A unique identifier for an address book. |
[in] | name | Friendly name of the address book, or an empty string if not available. |
[in] | type | Type of the address book AddressBookType . |
false
if address book was already added or some internal error otherwise true
on successful. bool aace::addressBook::AddressBook::removeAddressBook | ( | const std::string & | addressBookSourceId | ) |
Notifies the engine on a non-availability of an already available address book.
[in] | addressBookSourceId | A unique identifier for an address book. Set this to empty string for engine to remove all uploaded address books. |
false
if address book does not already added or some internal error otherwise true
on successful.
|
pure virtual |
Notifies the platform implementation to ingest address book entries using factory methods. Please note that engine may call this function multiple times to get the entries of the same address book.
[in] | addressBookSourceId | A unique identifier for an address book added using addAddressBook |
[in] | factory | Factory class for ingesting address book entries. |
true
if platform implementation has successfully ingested all the entries of the address book otherwise false
. Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0