Package ej.ecom.wifi

Class 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 Detail

      • SoftAPConfiguration

        public SoftAPConfiguration()
    • Method Detail

      • getName

        @Nullable
        public String getName()
        Gets SoftAP name.
        Returns:
        SoftAP name or null if not set.
      • getPassphrase

        @Nullable
        public String getPassphrase()
        Gets SoftAP passphrase.
        Returns:
        SoftAP passphrase or null if not set.
      • getSecurityMode

        @Nullable
        public SecurityMode getSecurityMode()
        Gets SoftAP security mode.
        Returns:
        SoftAP security mode or null if not set.
      • getSSID

        @Nullable
        public String getSSID()
        Gets SoftAP SSID.
        Returns:
        SoftAP SSID or null if not set.
      • setName

        public void setName​(@Nullable
                            String name)
        Sets SoftAP name.
        Parameters:
        name - SoftAP name or null.
      • setPassphrase

        public void setPassphrase​(@Nullable
                                  String passphrase)
        Sets SoftAP passphrase.
        Parameters:
        passphrase - SoftAP passphrase or null.
      • setSecurityMode

        public void setSecurityMode​(@Nullable
                                    SecurityMode securityMode)
        Sets SoftAP security mode.
        Parameters:
        securityMode - SoftAP security mode or null.
      • setSSID

        public void setSSID​(@Nullable
                            String ssid)
        Sets SoftAP SSID.
        Parameters:
        ssid - SoftAP SSID or null.