ApnConfiguration
- Since:
Members
-
readonly apn :string
-
Access point name.
- Since:
-
readonly apnType :string
-
Type of data connection.
- Since:
-
readonly mcc :string
-
Mobile country code.
- Since:
-
readonly mnc :string
-
Mobile network code.
- Since:
-
readonly mvnoType :mobicontrol.apn.MvnoType
-
The matching algorithm used for matching APN configuration and MVNO value.
- Since:
-
readonly mvnoValue :string
-
The MVNO that the APN configuration is restricted to.
- Since:
-
readonly name :string
-
Display name.
- Since:
Methods
-
toJSON() → {object}
-
Customize JSON stringification behavior. This function customizes behavior of
JSON.stringify()
: instead of this APN configuration being serialized, the object returned bytoJSON()
will be serialized. Note: This function is intended to be called internally byJSON.stringify()
; it is not intended to be called directly.
Check JSON Serialization tutorial for details.Returns:
object - Native JavaScript object representing this APN configuration.- Since:
-
withApnType(type) → {mobicontrol.apn.ApnConfiguration}
-
Set the APN type for the APN configuration.
Parameters:
Name Type Description type
string Types of data connection which should use this APN configuration. See APN type specification for the format of the string and for the available connection types. Returns:
mobicontrol.apn.ApnConfiguration - This APN configuration.- Since:
-
withMvno(type, value) → {mobicontrol.apn.ApnConfiguration}
-
Set the MVNO for the APN configuration
Parameters:
Name Type Description type
mobicontrol.apn.MvnoType The matching algorithm used to match the APN configuration and MVNO value See APN MVNO type/value specification for the available MVNO types. value
string The MVNO that the APN configuration is matched with. Cannot be empty string, unless the type is NONE. Returns:
mobicontrol.apn.ApnConfiguration - This APN configuration.- Since:
-
withName(name) → {mobicontrol.apn.ApnConfiguration}
-
Set the display name for the APN configuration.
Parameters:
Name Type Description name
string APN display name, must not be empty. Returns:
mobicontrol.apn.ApnConfiguration - This APN configuration.- Since: