AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <CustomerDataHandler.h>
Public Member Functions | |
CustomerDataHandler (const std::shared_ptr< registrationManager::CustomerDataManagerInterface > &dataManager) | |
virtual | ~CustomerDataHandler () |
Public Member Functions inherited from alexaClientSDK::registrationManager::CustomerDataHandlerInterface | |
virtual | ~CustomerDataHandlerInterface ()=default |
virtual void | clearData ()=0 |
Abstract base class which requires the derived class to implement a clearData()
function.
For changes in the device registration, it is extremely important to remove any customer data saved in the device. Classes that have any data related to the currently logged user must extend this class to guarantee that their data will be wiped out during logout.
alexaClientSDK::registrationManager::CustomerDataHandler::CustomerDataHandler | ( | const std::shared_ptr< registrationManager::CustomerDataManagerInterface > & | dataManager | ) |
Build and register the new object with the CustomerDataManager.
dataManager | The CustomerDataManager that will keep track of the new data handler. |
|
virtual |
Destructor.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0