public class ApnInfo
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static class |
ApnInfo.AuthType |
static class |
ApnInfo.Bearer |
static class |
ApnInfo.MVNOType |
static class |
ApnInfo.ProtocolType |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ApnInfo> |
CREATOR |
static java.lang.String |
TAG |
Constructor and Description |
---|
ApnInfo() |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Parcelable interface
|
java.lang.String |
getApn() |
java.lang.String |
getApnType() |
ApnInfo.AuthType |
getAuthType() |
ApnInfo.Bearer |
getBearer() |
int |
getCurrent() |
int |
getId() |
int |
getMcc() |
java.lang.String |
getMmsc() |
int |
getMmsport() |
java.lang.String |
getMmsProxy() |
int |
getMnc() |
java.lang.String |
getMvnoMatchData() |
ApnInfo.MVNOType |
getMvnoType() |
java.lang.String |
getName() |
int |
getNumeric() |
java.lang.String |
getPassword() |
int |
getPort() |
ApnInfo.ProtocolType |
getProtocol() |
java.lang.String |
getProxy() |
ApnInfo.ProtocolType |
getRoamingProtocol() |
java.lang.String |
getServer() |
java.lang.String |
getUser() |
boolean |
isCarrierEnabled() |
void |
setApn(java.lang.String apn) |
void |
setApnType(java.lang.String apnType) |
void |
setAuthType(ApnInfo.AuthType authType) |
void |
setBearer(ApnInfo.Bearer bearer) |
void |
setCarrierEnabled(boolean carrierEnabled) |
void |
setCurrent(int current) |
void |
setId(int id) |
void |
setMcc(int mcc) |
void |
setMmsc(java.lang.String mmsc) |
void |
setMmsport(int mmsport) |
void |
setMmsProxy(java.lang.String mmsProxy) |
void |
setMnc(int mnc) |
void |
setMvnoMatchData(java.lang.String mvnoMatchData) |
void |
setMvnoType(ApnInfo.MVNOType mvnoType) |
void |
setName(java.lang.String name) |
void |
setNumeric(int numeric) |
void |
setPassword(java.lang.String password) |
void |
setPort(int port) |
void |
setProtocol(ApnInfo.ProtocolType protocol) |
void |
setProxy(java.lang.String proxy) |
void |
setRoamingProtocol(ApnInfo.ProtocolType roamingProtocol) |
void |
setServer(java.lang.String server) |
void |
setUser(java.lang.String user) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String TAG
public static android.os.Parcelable.Creator<ApnInfo> CREATOR
public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int getId()
public void setId(int id)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getApn()
public void setApn(java.lang.String apn)
public int getNumeric()
public void setNumeric(int numeric)
public int getMcc()
public void setMcc(int mcc)
public int getMnc()
public void setMnc(int mnc)
public java.lang.String getUser()
public void setUser(java.lang.String user)
public java.lang.String getServer()
public void setServer(java.lang.String server)
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
public java.lang.String getProxy()
public void setProxy(java.lang.String proxy)
public int getPort()
public void setPort(int port)
public java.lang.String getMmsProxy()
public void setMmsProxy(java.lang.String mmsProxy)
public int getMmsport()
public void setMmsport(int mmsport)
public java.lang.String getMmsc()
public void setMmsc(java.lang.String mmsc)
public ApnInfo.AuthType getAuthType()
public void setAuthType(ApnInfo.AuthType authType)
public java.lang.String getApnType()
public void setApnType(java.lang.String apnType)
public int getCurrent()
public void setCurrent(int current)
public ApnInfo.ProtocolType getProtocol()
public void setProtocol(ApnInfo.ProtocolType protocol)
public ApnInfo.ProtocolType getRoamingProtocol()
public void setRoamingProtocol(ApnInfo.ProtocolType roamingProtocol)
public boolean isCarrierEnabled()
public void setCarrierEnabled(boolean carrierEnabled)
public ApnInfo.Bearer getBearer()
public void setBearer(ApnInfo.Bearer bearer)
public ApnInfo.MVNOType getMvnoType()
public void setMvnoType(ApnInfo.MVNOType mvnoType)
public java.lang.String getMvnoMatchData()
public void setMvnoMatchData(java.lang.String mvnoMatchData)