BeginCreateCredentialResponse


class BeginCreateCredentialResponse


Response to BeginCreateCredentialRequest.

Credential providers must add a list of CreateEntry, and an optional RemoteEntry to this response.

Each CreateEntry is displayed to the user on the account selector, as an account option where the given credential can be stored. A RemoteEntry is an entry on the selector, through which user can choose to create the credential on a remote device.

Summary

Public companion functions

Bundle

Helper method to convert the class to a parcelable Bundle, in case the class instance needs to be sent across a process.

BeginCreateCredentialResponse?
fromBundle(bundle: Bundle)

Helper method to convert a Bundle retrieved through asBundle, back to an instance of BeginGetCredentialResponse.

Public constructors

BeginCreateCredentialResponse(
    createEntries: List<CreateEntry>,
    remoteEntry: RemoteEntry?
)

Public companion functions

asBundle

Added in 1.2.0
fun asBundle(response: BeginCreateCredentialResponse): Bundle

Helper method to convert the class to a parcelable Bundle, in case the class instance needs to be sent across a process. Consumers of this method should use fromBundle to reconstruct the class instance back from the bundle returned here.

fromBundle

Added in 1.2.0
fun fromBundle(bundle: Bundle): BeginCreateCredentialResponse?

Helper method to convert a Bundle retrieved through asBundle, back to an instance of BeginGetCredentialResponse.

Public constructors

BeginCreateCredentialResponse

Added in 1.2.0
BeginCreateCredentialResponse(
    createEntries: List<CreateEntry> = listOf(),
    remoteEntry: RemoteEntry? = null
)

Public properties

createEntries

Added in 1.2.0
val createEntriesList<CreateEntry>

remoteEntry

Added in 1.2.0
val remoteEntryRemoteEntry?