{% setvar book_path %}/android/reference/kotlin/_book.yaml{% endsetvar %} {% 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/_kotlin_switcher2.md" %}

class RegistrationRequest : Parcelable


A registration request to store credential metadata and matcher logic.

Summary

Constants

const String

Public companion properties

Parcelable.Creator<RegistrationRequest>

Public constructors

RegistrationRequest(
    credentials: ByteArray,
    matcher: ByteArray,
    type: String,
    requestType: String,
    protocolTypes: List<String>
)

constructs an instance of RegistrationRequest

Public functions

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

Public properties

ByteArray

the credential information as a ByteArray blob

ByteArray

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

List<String>

This property is deprecated. Deprecated.

String

This property is deprecated. Deprecated.

String

the type of credentials matching the given registry data

Constants

TAG

const val TAGString

Public companion properties

CREATOR

val CREATORParcelable.Creator<RegistrationRequest>

Public constructors

RegistrationRequest

RegistrationRequest(
    credentials: ByteArray,
    matcher: ByteArray,
    type: String = "",
    requestType: String = "",
    protocolTypes: List<String> = emptyList()
)

constructs an instance of RegistrationRequest

Parameters
credentials: ByteArray

the credential information as a ByteArray blob

matcher: ByteArray

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

type: String = ""

the type of credentials matching the given registry data

requestType: String = ""

deprecated

protocolTypes: List<String> = emptyList()

deprecated

Public functions

describeContents

final fun describeContents(): Int

writeToParcel

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

Public properties

credentials

val credentialsByteArray

the credential information as a ByteArray blob

matcher

val matcherByteArray

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

protocolTypes

val protocolTypesList<String>

deprecated

requestType

val requestTypeString

deprecated

type

val typeString

the type of credentials matching the given registry data