Package ej.ecom.wifi
Class SoftAPConfiguration
- java.lang.Object
-
- ej.ecom.wifi.SoftAPConfiguration
-
public class SoftAPConfiguration extends Object
Software enabled Access Point (SoftAP) configuration. A SoftAP is often referred to as a virtual router. A SoftAP aims at creating an access point that will expose a wireless network that clients can join.
-
-
Constructor Summary
Constructors Constructor Description SoftAPConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets SoftAP name.StringgetPassphrase()Gets SoftAP passphrase.SecurityModegetSecurityMode()Gets SoftAP security mode.StringgetSSID()Gets SoftAP SSID.voidsetName(String name)Sets SoftAP name.voidsetPassphrase(String passphrase)Sets SoftAP passphrase.voidsetSecurityMode(SecurityMode securityMode)Sets SoftAP security mode.voidsetSSID(String ssid)Sets SoftAP SSID.
-
-
-
Method Detail
-
getName
@Nullable public String getName()
Gets SoftAP name.- Returns:
- SoftAP name or
nullif not set.
-
getPassphrase
@Nullable public String getPassphrase()
Gets SoftAP passphrase.- Returns:
- SoftAP passphrase or
nullif not set.
-
getSecurityMode
@Nullable public SecurityMode getSecurityMode()
Gets SoftAP security mode.- Returns:
- SoftAP security mode or
nullif not set.
-
getSSID
@Nullable public String getSSID()
Gets SoftAP SSID.- Returns:
- SoftAP SSID or
nullif not set.
-
setName
public void setName(@Nullable String name)
Sets SoftAP name.- Parameters:
name- SoftAP name ornull.
-
setPassphrase
public void setPassphrase(@Nullable String passphrase)
Sets SoftAP passphrase.- Parameters:
passphrase- SoftAP passphrase ornull.
-
setSecurityMode
public void setSecurityMode(@Nullable SecurityMode securityMode)
Sets SoftAP security mode.- Parameters:
securityMode- SoftAP security mode ornull.
-
-