Allows creating delegates for different runtime flavors.

Public Methods

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-05-10 UTC.