ProviderSignalCredentialStateCallback


public interface ProviderSignalCredentialStateCallback


Callback to be used for responding to androidx.credentials.providerevents.service.CredentialProviderEventsService.onSignalCredentialStateRequest

Summary

Public methods

abstract void

To be invoked when the provider received the signal request through androidx.credentials.providerevents.service.CredentialProviderEventsService.onSignalCredentialStateRequest and was able to service the signal request.

Public methods

onSignalConsumed

Added in 1.0.0-alpha02
abstract void onSignalConsumed()

To be invoked when the provider received the signal request through androidx.credentials.providerevents.service.CredentialProviderEventsService.onSignalCredentialStateRequest and was able to service the signal request. This is an optional callback to be invoked which means that if the provider does not need to consume the signal and does not invoke this endpoint, there are no consequences.

Note that this signal is only for the framework, and will not be propagated back to the RP and hence cannot be used as a means to collect information about credentials and with which credential provider they live.