{% include "/android/_dackka-meta-tags.html" %}

RegistrationRequest

{% setvar page_path %}com/google/android/gms/identitycredentials/RegistrationRequest.html{% endsetvar %} {% setvar doc_root_path %}/android/reference{% endsetvar %} {% setvar can_switch %}1{% endsetvar %} {% include "android/_java_switcher2.md" %}

public final class RegistrationRequest implements Parcelable


A registration request to store credential metadata and matcher logic.

Summary

Constants

static final @NonNull String

Public fields

static final @NonNull Parcelable.Creator<@NonNull RegistrationRequest>

Public constructors

RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes
)

constructs an instance of RegistrationRequest

Public methods

final int
final @NonNull byte[]

the credential information as a ByteArray blob

final @NonNull byte[]

the matcher for the credential info, also as a ByteArray blob

final @NonNull List<@NonNull String>

deprecated

final @NonNull String

deprecated

final @NonNull String

the type of credentials matching the given registry data

void
writeToParcel(@NonNull Parcel dest, int flags)

Constants

TAG

public static final @NonNull String TAG

Public fields

CREATOR

public static final @NonNull Parcelable.Creator<@NonNull RegistrationRequestCREATOR

Public constructors

RegistrationRequest

public RegistrationRequest(
    @NonNull byte[] credentials,
    @NonNull byte[] matcher,
    @NonNull String type,
    @NonNull String requestType,
    @NonNull List<@NonNull String> protocolTypes
)

constructs an instance of RegistrationRequest

Parameters
@NonNull byte[] credentials

the credential information as a ByteArray blob

@NonNull byte[] matcher

the matcher for the credential info, also as a ByteArray blob

@NonNull String type

the type of credentials matching the given registry data

@NonNull String requestType

deprecated

@NonNull List<@NonNull String> protocolTypes

deprecated

Public methods

describeContents

public final int describeContents()

getCredentials

public final @NonNull byte[] getCredentials()

the credential information as a ByteArray blob

getMatcher

public final @NonNull byte[] getMatcher()

the matcher for the credential info, also as a ByteArray blob

getProtocolTypes

public final @NonNull List<@NonNull StringgetProtocolTypes()

deprecated

getRequestType

public final @NonNull String getRequestType()

deprecated

getType

public final @NonNull String getType()

the type of credentials matching the given registry data

writeToParcel

public void writeToParcel(@NonNull Parcel dest, int flags)