示例#1
0
  public APNBuilder(Context context, String apnName, String apn) {
    mContext = context;

    mAPN = new APN();
    mAPN.name = apnName;
    mAPN.apn = apn;
  }
示例#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;
  }
示例#3
0
  public APNBuilder setApnType(String apntype) {
    mAPN.apntype = apntype;

    return this;
  }
示例#4
0
  public APNBuilder setAuthType(String authtype) {
    mAPN.authtype = authtype;

    return this;
  }
示例#5
0
  public APNBuilder setMMSPort(String mmsport) {
    mAPN.mmsport = mmsport;

    return this;
  }
示例#6
0
  public APNBuilder setMMSProxy(String mmsproxy) {
    mAPN.mmsproxy = mmsproxy;

    return this;
  }
示例#7
0
  public APNBuilder setMMSC(String mmsc) {
    mAPN.mmsc = mmsc;

    return this;
  }
示例#8
0
  public APNBuilder setServer(String server) {
    mAPN.server = server;

    return this;
  }
示例#9
0
  public APNBuilder setPassword(String pwd) {
    mAPN.pwd = pwd;

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

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

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

    return this;
  }