ProviderImportCredentialsRequest


public final class ProviderImportCredentialsRequest


Request received by the provider after the query phase of the import flow is complete i.e. the user was presented with a list of entries, and the user has now made a selection from the list of ExportEntry presented on the selector UI.

When the provider is responding to this request, it must write the response to the uri provided in this request, so that the importer can read the response from the transfer medium.

Summary

Public constructors

ProviderImportCredentialsRequest(
    @NonNull ImportCredentialsRequest request,
    @NonNull CallingAppInfo callingAppInfo,
    @NonNull Uri uri,
    @NonNull String credId
)

Public methods

final @NonNull CallingAppInfo

the caller's app info

final @NonNull String
final @NonNull ImportCredentialsRequest

a request to import the provider's credentials

final @NonNull Uri

the FileProvider uri that the importer will read the response from

Public constructors

ProviderImportCredentialsRequest

Added in 1.0.0-alpha03
public ProviderImportCredentialsRequest(
    @NonNull ImportCredentialsRequest request,
    @NonNull CallingAppInfo callingAppInfo,
    @NonNull Uri uri,
    @NonNull String credId
)

Public methods

getCallingAppInfo

Added in 1.0.0-alpha03
public final @NonNull CallingAppInfo getCallingAppInfo()

the caller's app info

getCredId

Added in 1.0.0-alpha03
public final @NonNull String getCredId()

getRequest

Added in 1.0.0-alpha03
public final @NonNull ImportCredentialsRequest getRequest()

a request to import the provider's credentials

getUri

Added in 1.0.0-alpha03
public final @NonNull Uri getUri()

the FileProvider uri that the importer will read the response from