延伸: | 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