CreateDigitalCredentialResponse


@ExperimentalDigitalCredentialApi
public final class CreateDigitalCredentialResponse extends CreateCredentialResponse


A response of creating a digital credential.

Summary

Public constructors

Public methods

final @NonNull String

The JSON string representing the response.

Inherited methods

From androidx.credentials.CreateCredentialResponse
final @NonNull Bundle

the response data in the Bundle format

final @NonNull String

the credential type determined by the credential-type-specific subclass (e.g. the type for CreatePasswordResponse is PasswordCredential.TYPE_PASSWORD_CREDENTIAL and for CreatePublicKeyCredentialResponse is PublicKeyCredential.TYPE_PUBLIC_KEY_CREDENTIAL)

Public constructors

CreateDigitalCredentialResponse

Added in 1.6.0-alpha02
public CreateDigitalCredentialResponse(@NonNull String responseJson)

Public methods

getResponseJson

Added in 1.6.0-alpha02
public final @NonNull String getResponseJson()

The JSON string representing the response.