Alexa Auto SDK  2.0.0
Classes | Public Member Functions | List of all members
com.amazon.aace.network.NetworkInfoProvider Class Referenceabstract

Classes

enum  NetworkStatus
 

Public Member Functions

NetworkStatus getNetworkStatus ()
 
int getWifiSignalStrength ()
 
void networkStatusChanged (NetworkStatus status, int wifiSignalStrength)
 

Detailed Description

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

Member Function Documentation

◆ getNetworkStatus()

NetworkStatus com.amazon.aace.network.NetworkInfoProvider.getNetworkStatus ( )

Returns the current network connectivity status on the platform

Returns
The connectivity status of the current network

◆ getWifiSignalStrength()

int com.amazon.aace.network.NetworkInfoProvider.getWifiSignalStrength ( )

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

Returns
The RSSI of the WiFi connection

◆ networkStatusChanged()

void com.amazon.aace.network.NetworkInfoProvider.networkStatusChanged ( NetworkStatus  status,
int  wifiSignalStrength 
)

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

Parameters
statusThe connection status of the WiFi network
wifiSignalStrengthThe RSSI of the WiFi connection

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