registerForCredmanCredentialOffers
Registers the application with Android Credential Manager for receiving OpenID4VCI credential offers from websites using the W3C Digital Credentials API, i.e. calling navigator.credentials.create().
When a website offers a credential, Credential Manager shows an entry with title, subtitle and icon for the application. If the user picks it, Credential Manager launches the activity of the application handling the androidx.credentials.registry.provider.action.CREATE_CREDENTIAL action, typically a subclass of org.multipaz.compose.digitalcredentials.CredentialManagerProvisioningActivity.
Applications should call this when they start, like DigitalCredentials.register for presentment. To unregister, call this function with an empty set for protocols.
Parameters
the title of the entry, e.g. the name of the application.
the subtitle of the entry or null.
the icon of the entry, as a PNG, or null.
the set of protocol identifiers to match, e.g. setOf("openid4vci-v1"), or emptySet() to unregister.
the Context to use.