SignalCredentialStateRequest

public final class SignalCredentialStateRequest implements Parcelable


Data interface for signaling a user's credential state from the RPs to the credential providers.

Summary

Public constructors

SignalCredentialStateRequest(
    @NonNull String type,
    String origin,
    @NonNull Bundle requestData
)

constructs an instance of SignalCredentialStateRequest

Public methods

final int
final String

the origin of the request, only settable by a browser

final @NonNull Bundle

the request data, containing the credential state information

final @NonNull String

the type of signal request being sent to the provider

void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

Public constructors

SignalCredentialStateRequest

public SignalCredentialStateRequest(
    @NonNull String type,
    String origin,
    @NonNull Bundle requestData
)

constructs an instance of SignalCredentialStateRequest

Parameters
@NonNull String type

the type of signal request being sent to the provider

String origin

the origin of the request, only settable by a browser

@NonNull Bundle requestData

the request data, containing the credential state information

Public methods

describeContents

public final int describeContents()

getOrigin

public final String getOrigin()

the origin of the request, only settable by a browser

getRequestData

public final @NonNull Bundle getRequestData()

the request data, containing the credential state information

getType

public final @NonNull String getType()

the type of signal request being sent to the provider

writeToParcel

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