public final class RegisterExportRequest


The request to register the export info.

Summary

Public constructors

RegisterExportRequest(
    @NonNull List<@NonNull ExportEntry> entries,
    @NonNull byte[] exportMatcher
)

Public methods

static final @NonNull RegisterExportRequest

Creates a RegisterExportRequest.

final @NonNull byte[]
final @NonNull List<@NonNull ExportEntry>

the entries to be displayed to the users on the provider selector ui.

final @NonNull byte[]

the optional matcher.

Public constructors

RegisterExportRequest

Added in 1.0.0-alpha06
public RegisterExportRequest(
    @NonNull List<@NonNull ExportEntry> entries,
    @NonNull byte[] exportMatcher
)
Parameters
@NonNull List<@NonNull ExportEntry> entries

the entries to be displayed to the users on the provider selector ui. The entries will be displayed in the order provided.

@NonNull byte[] exportMatcher

the optional matcher. By default, a matcher that filters on credential types will be used. The provider can provide a matcher to filter based on custom filters

Public methods

create

Added in 1.0.0-alpha06
@WorkerThread
public static final @NonNull RegisterExportRequest create(@NonNull Context context, @NonNull List<@NonNull ExportEntry> entries)

Creates a RegisterExportRequest. The request will be created with a default matcher that filters on credential types.

Parameters
@NonNull Context context

the context of the calling app

@NonNull List<@NonNull ExportEntry> entries

the entries to be displayed to the users on the provider selector ui. The entries will be displayed in the order provided.

getCredentialBytes

Added in 1.0.0-alpha06
public final @NonNull byte[] getCredentialBytes()

getEntries

Added in 1.0.0-alpha06
public final @NonNull List<@NonNull ExportEntrygetEntries()

the entries to be displayed to the users on the provider selector ui. The entries will be displayed in the order provided.

getExportMatcher

Added in 1.0.0-alpha06
public final @NonNull byte[] getExportMatcher()

the optional matcher. By default, a matcher that filters on credential types will be used. The provider can provide a matcher to filter based on custom filters