Google is committed to advancing racial equity for Black communities. See how.


public final enum DownloadType extends Enum<DownloadType>

Inherited Method Summary

Enum Values

public static final DownloadType LATEST_MODEL

Always return latest model, check for latest model and download new model (when needed) before returning.

public static final DownloadType LOCAL_MODEL

Use local model when present, otherwise download and return latest model

public static final DownloadType LOCAL_MODEL_UPDATE_IN_BACKGROUND

When local model present, use local model and download latest model in background. Otherwise, download and return latest model.