mobicontrol.wifi.AccessPoint

This class represents a Wi-Fi Access Point.

AccessPoint

Since:
  • Version 1.5 (API level 6)

Members

readonly, nullable caCertificates :Array.<mobicontrol.cert.Certificate>

Certificate Authority (CA) certificates used by the access point.

This property is null if the access point doesn't use CA certificates, or if the CA certificates cannot be determined.

Since:
  • Version 1.7 (API level 8)
Example
var accessPointList = mobicontrol.wifi.listAccessPoints();
accessPointList.filter(ap => ap.hasEapSecurity).forEach(ap => {

    var caCerts = ap.caCertificates;
    if (caCerts != null) {
        caCerts.forEach(caCert => {
           mobicontrol.log.info("Serial number of ca certificate is " + caCert.serialNumber);
      });
   }
});

readonly, nullable clientCertificate :mobicontrol.cert.Certificate

Client certificate used by the access point.

This property is null if the access point doesn't use client certificate, or if the client certificate cannot be determined.

Since:
  • Version 1.7 (API level 8)

readonly hasEapSecurity :boolean

true if the access point has EAP security type.
Since:
  • Version 1.7 (API level 8)

readonly hasProxy :boolean

true if the access point has a proxy.
Since:
  • Version 1.7 (API level 8)

readonly hasWepSecurity :boolean

true if the access point has WEP security type.
Since:
  • Version 1.5 (API level 6)

readonly hasWpaSecurity :boolean

true if the access point has WPA security type.
Since:
  • Version 1.5 (API level 6)

readonly proxyExclusionList :Array.<string>

Proxy exclusion list.
Since:
  • Version 1.7 (API level 8)

readonly, nullable proxyHost :string

Proxy host.
Since:
  • Version 1.7 (API level 8)

readonly, nullable proxyPacUrl :string

PAC Proxy URL.
Since:
  • Version 1.7 (API level 8)

readonly, nullable proxyPort :number

Proxy port.
Since:
  • Version 1.7 (API level 8)

readonly ssid :string

Service set identifier.
Since:
  • Version 1.5 (API level 6)

readonly state :mobicontrol.wifi.AccessPointState

Access point state.

Note: On some platforms prior to Android 8.0 the access point state does not always reflect the network's state properly.

Since:
  • Version 1.5 (API level 6)