AlexaClientSDK  1.25.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
[legend]
Collaboration diagram for alexaClientSDK::registrationManager::CustomerDataHandler:
Collaboration graph
[legend]

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.

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

◆ ~CustomerDataHandler()

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

Destructor.


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

AlexaClientSDK 1.25.0 - Copyright 2016-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0