ConsentModalBottomSheet
Bottom sheet used for obtaining consent when presenting one or more credentials.
Parameters
a SheetState for state.
the relying party which is requesting the data.
conveys the level of trust in the requester, if any.
the combinations of credentials and claims that the user can select.
the list of documents the user may have preselected earlier (for example an OS-provided credential picker like Android's Credential Manager) or the empty list if the user didn't preselect.
a ImageLoader.
the maximum height of the bottom sheet or null if no limit.
the TransactionDataRendererRepository to find renderers for transaction data in, or null to use only the built-in rendering.
an optional RequesterHistory used to query whether the user has shared credentials with requester before.
a function used to classify the org.multipaz.consent.PresentmentPurposes for the active selection.
a function used to evaluate the org.multipaz.consent.ConsentRiskAssessment for the active selection.
a function used to evaluate whether the request qualifies for a combined simple consent and biometric authentication prompt.
optional PlatformConsentOptions with platform-specific consent options.
called with the documents currently selected for the user, including when first shown. If the user selects a different set of documents in the prompt, this will be called again.
called when the user presses the "Continue" button, returns the user's selection.
called when the sheet is dismissed.