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

#include <CustomerDataHandler.h>

Inheritance diagram for alexaClientSDK::registrationManager::CustomerDataHandler:
Inheritance graph
[legend]

Public Member Functions

 CustomerDataHandler (std::shared_ptr< CustomerDataManager > customerDataManager)
 
virtual ~CustomerDataHandler ()
 
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 ( std::shared_ptr< CustomerDataManager customerDataManager)

Build and register the new object with the CustomerDataManager.

Parameters
customerDataManagerThe 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

CustomerDataHandler destructor.

Deregister the handler with the CustomerDataManager.

Member Function Documentation

◆ clearData()

virtual void alexaClientSDK::registrationManager::CustomerDataHandler::clearData ( )
pure virtual

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

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