![]() |
AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <InternetConnectionMonitor.h>
Public Member Functions | |
virtual | ~InternetConnectionMonitor () |
InternetConnectionMonitorInterface Methods | |
void | addInternetConnectionObserver (std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionObserverInterface > observer) override |
void | removeInternetConnectionObserver (std::shared_ptr< avsCommon::sdkInterfaces::InternetConnectionObserverInterface > observer) override |
![]() | |
virtual void | addInternetConnectionObserver (std::shared_ptr< InternetConnectionObserverInterface > observer)=0 |
virtual void | removeInternetConnectionObserver (std::shared_ptr< InternetConnectionObserverInterface > observer)=0 |
virtual | ~InternetConnectionMonitorInterface ()=default |
Static Public Member Functions | |
static std::shared_ptr< sdkInterfaces::InternetConnectionMonitorInterface > | createInternetConnectionMonitorInterface (const std::shared_ptr< sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface > &contentFetcherFactory) |
static std::unique_ptr< InternetConnectionMonitor > | create (std::shared_ptr< sdkInterfaces::HTTPContentFetcherInterfaceFactoryInterface > contentFetcherFactory) |
A class to monitor internet connection and notify observers of connection status changes.
|
virtual |
Destructor.
|
override |
|
static |
Creates a InternetConnectionMonitor.
contentFetcherFactory | The content fetcher that will make the test run to an S3 endpoint. |
|
static |
Factory for creating instances of InternetConnectionMonitorInterface.
contentFetcherFactory | Factory for creating content fetchers with which to verify connectivity. |
|
override |
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0