Alexa Auto SDK  4.3
Public Types | Public Member Functions | List of all members
aace::network::NetworkInfoProvider Class Referenceabstract

Public Types

using NetworkStatus = aace::network::NetworkInfoProviderEngineInterface::NetworkStatus
 

Public Member Functions

virtual NetworkStatus getNetworkStatus ()=0
 
virtual int getWifiSignalStrength ()=0
 
void networkStatusChanged (NetworkStatus status, int wifiSignalStrength)
 

Detailed Description

NetworkInfoProvider should be extended to report network connectivity events to the Engine.

Deprecated:
This platform interface is deprecated. Use the Alexa Auto Services Bridge (AASB) message broker to publish and subscribe to AASB messages instead.
See also
aace::core::MessageBroker

Member Typedef Documentation

◆ NetworkStatus

Describes the status of network connectivity

See also
aace::network::NetworkInfoProviderEngineInterface::NetworkStatus

Member Function Documentation

◆ getNetworkStatus()

virtual NetworkStatus aace::network::NetworkInfoProvider::getNetworkStatus ( )
pure virtual

Returns the current network connectivity status on the platform

Returns
The connectivity status of the current network

◆ getWifiSignalStrength()

virtual int aace::network::NetworkInfoProvider::getWifiSignalStrength ( )
pure virtual

Returns the current signal strength (RSSI) of the WiFi connection on the platform

Returns
The RSSI of the WiFi connection

◆ networkStatusChanged()

void aace::network::NetworkInfoProvider::networkStatusChanged ( NetworkStatus  status,
int  wifiSignalStrength 
)

Notifies the Engine of a WiFi network status change on the platform

Parameters
[in]statusThe connection status of the WiFi network
[in]wifiSignalStrengthThe RSSI of the WiFi connection

Alexa Auto SDK 4.3 - Copyright 2017-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0