Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CNetworkInterfaceAndroid Class Reference

#include <NetworkAndroid.h>

Inheritance diagram for CNetworkInterfaceAndroid:
CNetworkInterface

Public Member Functions

 CNetworkInterfaceAndroid (CJNINetwork network, CJNILinkProperties lp, CJNINetworkInterface intf)
 
std::vector< std::string > GetNameServers ()
 
virtual const std::string & GetName () const override
 
virtual bool IsEnabled () const override
 
virtual bool IsConnected () const override
 
virtual bool IsWireless () const override
 
virtual std::string GetMacAddress () const override
 
virtual void GetMacAddressRaw (char rawMac[6]) const override
 
virtual bool GetHostMacAddress (unsigned long host_ip, std::string &mac) const override
 
virtual std::string GetCurrentIPAddress () const override
 
virtual std::string GetCurrentNetmask () const override
 
virtual std::string GetCurrentDefaultGateway () const override
 
virtual std::string GetCurrentWirelessEssId () const override
 
virtual std::vector< NetworkAccessPointGetAccessPoints () const override
 
virtual void GetSettings (NetworkAssignment &assignment, std::string &ipAddress, std::string &networkMask, std::string &defaultGateway, std::string &essId, std::string &key, EncMode &encryptionMode) const override
 
virtual void SetSettings (const NetworkAssignment &assignment, const std::string &ipAddress, const std::string &networkMask, const std::string &defaultGateway, const std::string &essId, const std::string &key, const EncMode &encryptionMode) override
 
std::string GetHostName ()
 
- Public Member Functions inherited from CNetworkInterface
virtual ~CNetworkInterface ()=default
 

Protected Attributes

std::string m_name
 
CJNINetwork m_network
 
CJNILinkProperties m_lp
 
CJNINetworkInterface m_intf
 

Constructor & Destructor Documentation

◆ CNetworkInterfaceAndroid()

CNetworkInterfaceAndroid::CNetworkInterfaceAndroid ( CJNINetwork  network,
CJNILinkProperties  lp,
CJNINetworkInterface  intf 
)

Member Function Documentation

◆ GetAccessPoints()

std::vector< NetworkAccessPoint > CNetworkInterfaceAndroid::GetAccessPoints ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentDefaultGateway()

std::string CNetworkInterfaceAndroid::GetCurrentDefaultGateway ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentIPAddress()

std::string CNetworkInterfaceAndroid::GetCurrentIPAddress ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentNetmask()

std::string CNetworkInterfaceAndroid::GetCurrentNetmask ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetCurrentWirelessEssId()

std::string CNetworkInterfaceAndroid::GetCurrentWirelessEssId ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetHostMacAddress()

bool CNetworkInterfaceAndroid::GetHostMacAddress ( unsigned long  host_ip,
std::string &  mac 
) const
overridevirtual

Implements CNetworkInterface.

◆ GetHostName()

std::string CNetworkInterfaceAndroid::GetHostName ( )

◆ GetMacAddress()

std::string CNetworkInterfaceAndroid::GetMacAddress ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetMacAddressRaw()

void CNetworkInterfaceAndroid::GetMacAddressRaw ( char  rawMac[6]) const
overridevirtual

Implements CNetworkInterface.

◆ GetName()

const std::string & CNetworkInterfaceAndroid::GetName ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ GetNameServers()

std::vector< std::string > CNetworkInterfaceAndroid::GetNameServers ( )

◆ GetSettings()

void CNetworkInterfaceAndroid::GetSettings ( NetworkAssignment assignment,
std::string &  ipAddress,
std::string &  networkMask,
std::string &  defaultGateway,
std::string &  essId,
std::string &  key,
EncMode encryptionMode 
) const
overridevirtual

Implements CNetworkInterface.

◆ IsConnected()

bool CNetworkInterfaceAndroid::IsConnected ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ IsEnabled()

bool CNetworkInterfaceAndroid::IsEnabled ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ IsWireless()

bool CNetworkInterfaceAndroid::IsWireless ( void  ) const
overridevirtual

Implements CNetworkInterface.

◆ SetSettings()

void CNetworkInterfaceAndroid::SetSettings ( const NetworkAssignment assignment,
const std::string &  ipAddress,
const std::string &  networkMask,
const std::string &  defaultGateway,
const std::string &  essId,
const std::string &  key,
const EncMode encryptionMode 
)
overridevirtual

Implements CNetworkInterface.

Member Data Documentation

◆ m_intf

CJNINetworkInterface CNetworkInterfaceAndroid::m_intf
protected

◆ m_lp

CJNILinkProperties CNetworkInterfaceAndroid::m_lp
protected

◆ m_name

std::string CNetworkInterfaceAndroid::m_name
protected

◆ m_network

CJNINetwork CNetworkInterfaceAndroid::m_network
protected

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