类 com.baidu.sapi2.account.DisplayAccount
的使用

使用 DisplayAccount 的软件包
com.baidu.sapi2   
com.baidu.sapi2.account   
 

com.baidu.sapi2DisplayAccount 的使用
 

参数类型为 DisplayAccountcom.baidu.sapi2 中的方法
 boolean SapiHelper.login(LoginCallBack callBack, int loginType, String username, String password, String vcodeStr, String verifyCode, boolean isDynamicPwd, DisplayAccount account)
          登录接口,对应于sapi的login接口 异步 当code == ErrorCode.Succeed,Object为LoginResponse 当code == ErrorCode.PlsInputVerifyCode,Object为LoginResponse 当code == ErrorCode.NeedActivateEmail,Object为LoginResponse
 boolean SapiClient.login(LoginCallBack callBack, int loginType, String username, String password, String vcodeStr, String verifyCode, boolean isDynamicPwd, DisplayAccount displayAccount)
           
 

com.baidu.sapi2.accountDisplayAccount 的使用
 

返回 DisplayAccountcom.baidu.sapi2.account 中的方法
static DisplayAccount DisplayAccount.toDisplayAccount(android.content.Context context, org.json.JSONObject object)
           
 

返回变量类型为 DisplayAccount 的类型的 com.baidu.sapi2.account 中的方法
protected  List<DisplayAccount> AccountAgent.blockGetAccountMap(AccountType accountType)
          获取帐号列表(耗时操作)
 List<DisplayAccount> AccountAPI.blockGetAccounts(AccountType accountType)
          获取帐号
 

参数类型为 DisplayAccountcom.baidu.sapi2.account 中的方法
 void AccountAPI.asyncAddAccount(LocalAccountsListener listener, DisplayAccount account)
          添加帐号
 boolean AccountAPI.blockAddAccount(DisplayAccount account)
          添加帐号
protected  boolean AccountAgent.blockAddAccount(DisplayAccount account)
          添加一个帐号
static org.json.JSONObject DisplayAccount.toJsonObject(android.content.Context context, DisplayAccount account)
           
 

类型变量类型为 DisplayAccountcom.baidu.sapi2.account 中的方法参数
 void LocalAccountsListener.getResult(List<DisplayAccount> list)
           
 

参数类型为 DisplayAccountcom.baidu.sapi2.account 中的构造方法
AccountThread(AccountAgent agent, LocalAccountsListener listener, RunType type, DisplayAccount account)
           
 



Copyright © 2013. All Rights Reserved.