DelegateAutofillProvider

Provides values based on registered providers. Providers are utilized in order of their registration, starting with the most recent.

Functions

Link copied to clipboard
abstract fun provide(type: KClass<*>): AutofillProvider.Value<T>

Returns an instance of Value.Provided, whenever value of type can be provided. Otherwise, it returns Value.Absent

Link copied to clipboard
Link copied to clipboard
abstract fun register(provider: AutofillProvider<T>)

Registers provider to be used before previously registered providers.

Link copied to clipboard
abstract fun unregister(provider: AutofillProvider<T>)

Unregisters provider registered with register so it is no longer in use.