AccountKitActivity
最新版的 SDK 已不支持此类。
扩展:AppCompatActivity
应用安装包:ui
构造函数
AccountKitActivity()
public AccountKitActivity()
实例方法
onBackPressed()
public void onBackPressed()
onBackPressed(View)
public void onBackPressed(View view)
参数描述
view
onCancelPressed(View)
public void onCancelPressed(View view)
参数描述
view
onCreate(Bundle)
public void onCreate(Bundle savedInstanceState)
参数描述
savedInstanceState
onPause()
public void onPause()
onSaveInstanceState(Bundle)
public void onSaveInstanceState(Bundle outState)
参数描述
outState
onViewReadyWithState(Bundle, boolean)
protected void onViewReadyWithState(Bundle viewState, boolean restored)
参数描述
viewState
restored
onResume()
protected void onResume()
onDestroy()
protected void onDestroy()
onOptionsItemSelected(MenuItem)
public boolean onOptionsItemSelected(MenuItem item)
参数描述
item
onKeyDown(int, KeyEvent)
public boolean onKeyDown(int keyCode, KeyEvent event)
参数描述
keyCode
event
sendResult()
public void sendResult()
setAuthorizationCode(String)
protected void setAuthorizationCode(String authorizationCode)
参数描述
authorizationCode
setFinalAuthState(String)
protected void setFinalAuthState(String finalAuthState)
参数描述
finalAuthState
setAccessToken(AccessToken)
protected void setAccessToken(AccessToken accessToken)
参数描述
accessToken
setTokenRefreshIntervalInSeconds(long)
protected void setTokenRefreshIntervalInSeconds(long tokenRefreshIntervalInSeconds)
参数描述
tokenRefreshIntervalInSeconds
setLoginResult(LoginResult)
protected void setLoginResult(LoginResult result)
参数描述
result
pushError(AccountKitError)
public void pushError(AccountKitError error)
参数描述
error
pushError(AccountKitException)
public void pushError(AccountKitException exception)
参数描述
exception
常量
ACCOUNT_KIT_ACTIVITY_CONFIGURATION
public static final String ACCOUNT_KIT_ACTIVITY_CONFIGURATION