AlexaClientSDK  3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
Public Member Functions | List of all members
alexaClientSDK::registrationManager::CustomerDataHandler Class Reference

#include <CustomerDataHandler.h>

Inheritance diagram for alexaClientSDK::registrationManager::CustomerDataHandler:
Inheritance graph
Collaboration diagram for alexaClientSDK::registrationManager::CustomerDataHandler:
Collaboration graph

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ CustomerDataHandler()

alexaClientSDK::registrationManager::CustomerDataHandler::CustomerDataHandler ( const std::shared_ptr< registrationManager::CustomerDataManagerInterface > &  dataManager)

Build and register the new object with the CustomerDataManager.

dataManagerThe CustomerDataManager that will keep track of the new data handler.
The customerDataManager must have a valid pointer to a manager instance.

◆ ~CustomerDataHandler()

virtual alexaClientSDK::registrationManager::CustomerDataHandler::~CustomerDataHandler ( )


The documentation for this class was generated from the following file:

AlexaClientSDK 3.0.0 - Copyright 2016-2022, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0