mobicontrol.apn.Apn

This class represents an APN.

Instances of this class can be stringified with JSON.stringify. Using JSON.parse with the mobicontrol.json.revive parameter on the resulting string produces an instance of mobicontrol.apn.ApnConfiguration.
Check JSON Serialization tutorial for details.

Apn

Since:
  • Version 1.4 (API level 5)

Members

readonly apn :string

Access point name.
Since:
  • Version 1.4 (API level 5)

readonly apnType :string

Type of data connection.
Since:
  • Version 1.4 (API level 5)

readonly mcc :string

Mobile country code.
Since:
  • Version 1.4 (API level 5)

readonly mnc :string

Mobile network code.
Since:
  • Version 1.4 (API level 5)

readonly mvnoType :mobicontrol.apn.MvnoType

The matching algorithm used for matching APN configuration and MVNO value.
Since:
  • Version 1.5 (API level 6)

readonly mvnoValue :string

The MVNO that the APN configuration is restricted to.
Since:
  • Version 1.5 (API level 6)

readonly name :string

Display name.
Since:
  • Version 1.4 (API level 5)

Methods

toJSON() → {object}

Customize JSON stringification behavior.

This function customizes behavior of JSON.stringify(): instead of this APN being serialized, the object returned by toJSON() will be serialized.

Note: This function is intended to be called internally by JSON.stringify(); it is not intended to be called directly.
Check JSON Serialization tutorial for details.

Returns:
object - Native JavaScript object representing this APN.
Since:
  • Version 1.4 (API level 5)