GetCredentialResponse

class GetCredentialResponse : Parcelable


A response from the get-credential operation.

Summary

Public companion properties

Parcelable.Creator<GetCredentialResponse>

Public constructors

GetCredentialResponse(
    credential: Credential,
    credentialList: List<Credential>?
)

constructs an instance of GetCredentialResponse

Public functions

open Unit
writeToParcel(dest: Parcel, flags: Int)

Public properties

Credential

the credential that was returned

List<Credential>

The list of credentials returned by the provider(s).

Public companion properties

Public constructors

GetCredentialResponse

GetCredentialResponse(credential: Credential)

GetCredentialResponse

GetCredentialResponse(credentials: List<Credential>)

GetCredentialResponse

GetCredentialResponse(
    credential: Credential,
    credentialList: List<Credential>? = null
)

constructs an instance of GetCredentialResponse

Parameters
credential: Credential

the credential that was returned

credentialList: List<Credential>? = null

the backing list of credentials used for parceling

Public functions

writeToParcel

open fun writeToParcel(dest: Parcel, flags: Int): Unit

Public properties

credential

val credentialCredential

the credential that was returned

credentials

val credentialsList<Credential>

The list of credentials returned by the provider(s).

In multi-provider scenarios, this will hold all successfully accumulated credentials. For single-provider scenarios or backward compatibility with older GMS Core versions, this will cleanly fall back to a list containing only the single credential.