Builder for
SaveAccountLinkingTokenRequest.
|
Builder()
|
| SaveAccountLinkingTokenRequest |
build()
Builds an immutable instance of the
SaveAccountLinkingTokenRequest.
|
| SaveAccountLinkingTokenRequest.Builder |
setConsentPendingIntent(PendingIntent
consentPendingIntent)
Sets the (mandatory)
PendingIntent
that can be launched by Google Play Services to show the consent page during
the flow.
|
| SaveAccountLinkingTokenRequest.Builder | |
| SaveAccountLinkingTokenRequest.Builder | |
| SaveAccountLinkingTokenRequest.Builder |
Builds an immutable instance of the
SaveAccountLinkingTokenRequest.
Sets the (mandatory) PendingIntent
that can be launched by Google Play Services to show the consent page during the flow.
When the launched activity is finished, it has to provide the appropriate data in the
result that it returns to the caller, based on the following contract:
RESULT_OK,
along with a token as a (string) intent extra in the result, with the key
SaveAccountLinkingTokenRequest.EXTRA_TOKEN, similar to the following
snippet:
Intent intent = new Intent();
intent.putExtra(SaveAccountLinkingTokenRequest.EXTRA_TOKEN, token);
setResult(Activity.RESULT_OK, intent);
finish();
RESULT_CANCELED.Sets the list of scopes that are associated with the token that will be saved to Google. Calling this method with the correct scope(s) is required.
Sets the service-id that can be obtained from your cloud project. Calling this
method to set serviceId is required.
Sets the type of token that will be saved to Google. Valid options are:
Calling this method with a valid token type is required.