public APNBuilder(Context context, String apnName, String apn) {
    mContext = context;

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

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

    mSlot = slotId;
  }
  public APNBuilder setApnType(String apntype) {
    mAPN.apntype = apntype;

    return this;
  }
  public APNBuilder setAuthType(String authtype) {
    mAPN.authtype = authtype;

    return this;
  }
  public APNBuilder setMMSPort(String mmsport) {
    mAPN.mmsport = mmsport;

    return this;
  }
  public APNBuilder setMMSProxy(String mmsproxy) {
    mAPN.mmsproxy = mmsproxy;

    return this;
  }
  public APNBuilder setMMSC(String mmsc) {
    mAPN.mmsc = mmsc;

    return this;
  }
  public APNBuilder setServer(String server) {
    mAPN.server = server;

    return this;
  }
  public APNBuilder setPassword(String pwd) {
    mAPN.pwd = pwd;

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

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

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

    return this;
  }