Class Overview
This class contains all the information for given APN settings.
Summary
Constants |
String |
MVNO_GID |
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for group identifier level 1. |
String |
MVNO_IMSI |
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for IMSI. |
String |
MVNO_SPN |
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for service provider name. |
String |
PROTOCOL_IPV4 |
Constant to indicate the APN should use only IP protocol v4. |
String |
PROTOCOL_IPV4_IPV6 |
Constant to indicate the APN can use both IP protocol v4 and v6. |
String |
PROTOCOL_IPV6 |
Constant to indicate the APN should use only IP protocol v6. |
[Expand]
Inherited Constants |
From interface
android.os.Parcelable
int |
CONTENTS_FILE_DESCRIPTOR |
|
int |
PARCELABLE_WRITE_RETURN_VALUE |
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.os.Parcelable
abstract
int
|
describeContents()
|
abstract
void
|
writeToParcel(Parcel arg0, int arg1)
|
|
Constants
public
static
final
String
MVNO_GID
Since: API level 29
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for group identifier level 1.
Constant Value:
"gid"
public
static
final
String
MVNO_IMSI
Since: API level 29
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for IMSI.
Constant Value:
"imsi"
public
static
final
String
MVNO_SPN
Since: API level 29
Constant to indicate the APN has MVNO (Mobile Virtual Network Operator)
type for service provider name.
Constant Value:
"spn"
public
static
final
String
PROTOCOL_IPV4
Since: API level 20
Constant to indicate the APN should use only IP protocol v4.
Constant Value:
"IP"
public
static
final
String
PROTOCOL_IPV4_IPV6
Since: API level 20
Constant to indicate the APN can use both IP protocol v4 and v6.
Constant Value:
"IPV4V6"
public
static
final
String
PROTOCOL_IPV6
Since: API level 20
Constant to indicate the APN should use only IP protocol v6.
Constant Value:
"IPV6"
Fields
public
int
authType
Since: API level 2
Authentication type
- Value -1 - Not set
- Value 0 - None
- Value 1 - PAP
- Value 2 - CHAP
- Value 3 - PAP or CHAP
public
long
id
Since: API level 2
public
String
mmsPort
Since: API level 2
public
String
mmsProxy
Since: API level 2
public
String
mvno_type
Since: API level 29
MVNO type for the APN.
Default value is empty String.
public
String
mvno_value
Since: API level 29
MVNO value for a specific mvno_type
public
String
password
Since: API level 2
public
int
port
Since: API level 2
public
String
protocol
Since: API level 20
public
String
proxy
Since: API level 2
public
String
roamingProtocol
Since: API level 20
public
String
server
Since: API level 2
Since: API level 2
Access Point type
Accepted types are "default", "mms", and "supl".
If the Access Point type isn't defined,by default, "default,supl,mms"
is used.
Public Constructors