Credentials data used to identify the credentials of the sender.
| class | CredentialsData.Builder | Builder for CredentialsData. |
|
| String | CREDENTIALS_TYPE_ANDROID | The credentials type indicating it comes from an Android sender. |
| String | CREDENTIALS_TYPE_CLOUD | The credentials type indicating it comes from the cloud (i.e. |
| String | CREDENTIALS_TYPE_IOS | The credentials type indicating it comes from an iOS sender. |
| String | CREDENTIALS_TYPE_WEB | The credentials type indicating it comes from a Web sender. |
| boolean | |
| String |
getCredentials()
Returns the application-specific blob which identifies and possibly
authenticates the user that's requesting to launch or join an receiver app.
|
| String |
getCredentialsType()
Returns the type of the credentials.
|
| int |
hashCode()
|
| void |
writeToParcel(Parcel out, int
flags)
|
The credentials type indicating it comes from an Android sender.
The credentials type indicating it comes from the cloud (i.e. assistant).
The credentials type indicating it comes from an iOS sender.
The credentials type indicating it comes from a Web sender.
Returns the application-specific blob which identifies and possibly authenticates
the user that's requesting to launch or join an receiver app. This field may be
null.
For requests sent from Assistant, it is an OAuth 2 token.
For requests sent from mobile senders, it is set by sender apps.
Returns the type of the credentials. This field may be null.
This could be one of the CREDENTIALS_TYPE_* constants or
custom-defined.