registerAsDcProvider

Register this wallet as an Android Digital Credentials provider (Credential Manager), so that when a site calls the W3C Digital Credentials API (navigator.credentials.get) Android shows a wallet picker including this app. When the user picks it, Credential Manager launches the app's CredentialManagerPresentmentActivity (declared in the manifest with the androidx.credentials.registry.provider.action.GET_CREDENTIAL intent-filter) to run consent + response.

Unlike iOS there is no per-user authorization gate — registering the credentials is sufficient. Call this after a credential is added (and re-call when the set changes); the SDK diffs against what's already registered. No-op where the API is unavailable (registerAvailable == false, e.g. old Credential Manager / no Play Services).

Return

true if registration ran, false if the DC provider API is unavailable on this device.