ApnSetting class
An Access Point Name (APN) configuration for a carrier data connection.
The APN provides configuration to connect a cellular network device to an IP data network. A carrier uses this setting to decide which IP address to assign, any security methods to apply, and how the device might be connected to private networks.
Constructors
-
ApnSetting.new({String? alwaysOnSetting, String? apn, List<
String> ? apnTypes, String? authType, int? carrierId, String? displayName, String? mmsProxyAddress, int? mmsProxyPort, String? mmsc, int? mtuV4, int? mtuV6, String? mvnoType, List<String> ? networkTypes, String? numericOperatorId, String? password, String? protocol, String? proxyAddress, int? proxyPort, String? roamingProtocol, String? username}) - ApnSetting.fromJson(Map json_)
Properties
- alwaysOnSetting ↔ String?
-
Whether User Plane resources have to be activated during every transition
from CM-IDLE mode to CM-CONNECTED state for this APN.
getter/setter pair
- apn ↔ String?
-
Name of the APN.
getter/setter pair
-
apnTypes
↔ List<
String> ? -
Usage categories for the APN.
getter/setter pair
- authType ↔ String?
-
Authentication type of the APN.
getter/setter pair
- carrierId ↔ int?
-
Carrier ID for the APN.
getter/setter pair
- displayName ↔ String?
-
Human-readable name that describes the APN.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mmsc ↔ String?
-
MMSC (Multimedia Messaging Service Center) URI of the APN.
getter/setter pair
- mmsProxyAddress ↔ String?
-
MMS (Multimedia Messaging Service) proxy address of the APN which can be
an IP address or hostname (not a URL).
getter/setter pair
- mmsProxyPort ↔ int?
-
MMS (Multimedia Messaging Service) proxy port of the APN.
getter/setter pair
- mtuV4 ↔ int?
-
The default MTU (Maximum Transmission Unit) size in bytes of the IPv4
routes brought up by this APN setting.
getter/setter pair
- mtuV6 ↔ int?
-
The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to
which the APN connected.
getter/setter pair
- mvnoType ↔ String?
-
MVNO match type for the APN.
getter/setter pair
-
networkTypes
↔ List<
String> ? -
Radio technologies (network types) the APN may use.
getter/setter pair
- numericOperatorId ↔ String?
-
The numeric operator ID of the APN.
getter/setter pair
- password ↔ String?
-
APN password of the APN.
getter/setter pair
- protocol ↔ String?
-
The protocol to use to connect to this APN.
getter/setter pair
- proxyAddress ↔ String?
-
The proxy address of the APN.
getter/setter pair
- proxyPort ↔ int?
-
The proxy port of the APN.
getter/setter pair
- roamingProtocol ↔ String?
-
The protocol to use to connect to this APN while the device is roaming.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username ↔ String?
-
APN username of the APN.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited