public interface IApnDevice extends IAdvanceDevice
| Modifier and Type | Method and Description |
|---|---|
String |
add(String name,
String apn) |
String |
addByAllArgs(String name,
String apn,
String mcc,
String mnc,
String proxy,
String port,
String MMSProxy,
String MMSPort,
String userName,
String server,
String password,
String MMSC,
String authType,
String protocol,
String roamingProtocol,
String type,
String bearer,
String MVNOType,
String MVNOMatchData)
add one APN Settings
|
String |
addByMCCAndMNC(String name,
String apn,
String mcc,
String mnc) |
boolean |
clear() |
boolean |
clearWithSlot(int slot) |
Map |
getSelected() |
List |
query(String columnName,
String value) |
List |
queryByName(String value) |
boolean |
setSelected(String name) |
close, isOpened, openString add(String name, String apn) throws DeviceException
DeviceExceptionString addByAllArgs(String name, String apn, String mcc, String mnc, String proxy, String port, String MMSProxy, String MMSPort, String userName, String server, String password, String MMSC, String authType, String protocol, String roamingProtocol, String type, String bearer, String MVNOType, String MVNOMatchData) throws DeviceException
name: - @NonNullapn: - @NonNullmcc: - @NonNullmnc: - @NonNullproxy: - @Nullable, default: nullport: - @Nullable, default: nullMMSProxy: - @Nullable, default: nullMMSPort: - @Nullable, default: nulluserName - @Nullable, default: nullserver - @Nullable, default: nullpassword - @Nullable, default: nullMMSC - @Nullable, default: nullauthType: - 0,PAP,CHAP,PAP/CHAP @Nullable, default: 0protocol: - IPV4,IPV6,IPV4/IPV6 @Nullable, default: IPV4roamingProtocol: - IPV4,IPV6,IPV4/IPV6 @Nullable, default: IPV4type: - @Nullable, default: nullbearer: - @Nullable, default: 0MVNOType: - @Nullable, default: ""MVNOMatchData - @Nullable, default: nullDeviceExceptionString addByMCCAndMNC(String name, String apn, String mcc, String mnc) throws DeviceException
DeviceExceptionboolean clear()
throws DeviceException
DeviceExceptionboolean clearWithSlot(int slot)
throws DeviceException
DeviceExceptionMap getSelected() throws DeviceException
DeviceExceptionList query(String columnName, String value) throws DeviceException
DeviceExceptionList queryByName(String value) throws DeviceException
DeviceExceptionboolean setSelected(String name) throws DeviceException
DeviceException