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

#include <RegistrationManager.h>

Inheritance diagram for alexaClientSDK::registrationManager::RegistrationManager:
Inheritance graph
[legend]
Collaboration diagram for alexaClientSDK::registrationManager::RegistrationManager:
Collaboration graph
[legend]

Public Member Functions

RegistrationManagerInterface methods.
void logout () override
 
- Public Member Functions inherited from alexaClientSDK::registrationManager::RegistrationManagerInterface
virtual ~RegistrationManagerInterface ()=default
 

Static Public Member Functions

static std::shared_ptr< registrationManager::RegistrationManagerInterfacecreateRegistrationManagerInterface (const std::shared_ptr< registrationManager::CustomerDataManagerInterface > &dataManager, const std::shared_ptr< registrationManager::RegistrationNotifierInterface > &notifier, const std::shared_ptr< avsCommon::sdkInterfaces::AVSConnectionManagerInterface > &connectionManager, const std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface > &directiveSequencer, const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &metricRecorder)
 

Member Function Documentation

◆ createRegistrationManagerInterface()

std::shared_ptr< registrationManager::RegistrationManagerInterface > alexaClientSDK::registrationManager::RegistrationManager::createRegistrationManagerInterface ( const std::shared_ptr< registrationManager::CustomerDataManagerInterface > &  dataManager,
const std::shared_ptr< registrationManager::RegistrationNotifierInterface > &  notifier,
const std::shared_ptr< avsCommon::sdkInterfaces::AVSConnectionManagerInterface > &  connectionManager,
const std::shared_ptr< avsCommon::sdkInterfaces::DirectiveSequencerInterface > &  directiveSequencer,
const std::shared_ptr< avsCommon::utils::metrics::MetricRecorderInterface > &  metricRecorder 
)
static

Creates a new instance of RegistrationManager.

Parameters
dataManagerObject that manages customer data, which must be cleared during logout.
connectionManagerConnection manager must be disabled during customer logout.
directiveSequencerObject used to clear directives during logout process.
metricRecorderObject that is used to record the logout metric.
Returns
Pointer to the RegistrationManagerInterface.

◆ logout()

void alexaClientSDK::registrationManager::RegistrationManager::logout ( )
overridevirtual

Log out current customer. This will clear any persistent data.

Implements alexaClientSDK::registrationManager::RegistrationManagerInterface.


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

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