DelegateFactory

Stay organized with collections Save and categorize content based on your preferences.
public interface DelegateFactory
Known Indirect Subclasses

Allows creating delegates for different runtime flavors.

Public Methods

abstract Delegate
create(RuntimeFlavor runtimeFlavor)
Create a Delegate for the given RuntimeFlavor.

Public Methods

public abstract Delegate create (RuntimeFlavor runtimeFlavor)

Create a Delegate for the given RuntimeFlavor.

Note for developers implementing this interface: Currently TF Lite in Google Play Services does not support external (developer-provided) delegates. Correspondingly, implementations of this method can expect to be called with RuntimeFlavor.APPLICATION.

Parameters
runtimeFlavor