Esempio n. 1
0
  public APNBuilder(Context context, String apnName, String apn) {
    mContext = context;

    mAPN = new APN();
    mAPN.name = apnName;
    mAPN.apn = apn;
  }
Esempio n. 2
0
  public APNBuilder(Context context, int slotId, String apnName, String apn) {
    mContext = context;

    mAPN = new APN();
    mAPN.name = apnName;
    mAPN.apn = apn;

    mSlot = slotId;
  }
Esempio n. 3
0
  public APNBuilder setApnType(String apntype) {
    mAPN.apntype = apntype;

    return this;
  }
Esempio n. 4
0
  public APNBuilder setAuthType(String authtype) {
    mAPN.authtype = authtype;

    return this;
  }
Esempio n. 5
0
  public APNBuilder setMMSPort(String mmsport) {
    mAPN.mmsport = mmsport;

    return this;
  }
Esempio n. 6
0
  public APNBuilder setMMSProxy(String mmsproxy) {
    mAPN.mmsproxy = mmsproxy;

    return this;
  }
Esempio n. 7
0
  public APNBuilder setMMSC(String mmsc) {
    mAPN.mmsc = mmsc;

    return this;
  }
Esempio n. 8
0
  public APNBuilder setServer(String server) {
    mAPN.server = server;

    return this;
  }
Esempio n. 9
0
  public APNBuilder setPassword(String pwd) {
    mAPN.pwd = pwd;

    return this;
  }
Esempio n. 10
0
  public APNBuilder setUserName(String name) {
    mAPN.uName = name;

    return this;
  }
Esempio n. 11
0
  public APNBuilder setPort(String port) {
    mAPN.port = port;

    return this;
  }
Esempio n. 12
0
  public APNBuilder setProxy(String proxy) {
    mAPN.proxy = proxy;

    return this;
  }