FirebaseAutoMLLocalModel.Builder

public static class FirebaseAutoMLLocalModel.Builder extends Object

Builder class of FirebaseAutoMLLocalModel.

Public Constructor Summary

Public Method Summary

FirebaseAutoMLLocalModel
FirebaseAutoMLLocalModel.Builder
setAssetFilePath(String assetFilePath)
Sets the asset subpath of the asset model file

Make sure your model asset file is not compressed by using aaptOptions.

FirebaseAutoMLLocalModel.Builder
setFilePath(String filePath)
Sets the absolute file path of the local model file.

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public FirebaseAutoMLLocalModel.Builder ()

Creates a new builder to build FirebaseAutoMLLocalModel.

Public Methods

public FirebaseAutoMLLocalModel build ()

Returns

public FirebaseAutoMLLocalModel.Builder setAssetFilePath (String assetFilePath)

Sets the asset subpath of the asset model file

Make sure your model asset file is not compressed by using aaptOptions. For more details, refer to documentation.

public FirebaseAutoMLLocalModel.Builder setFilePath (String filePath)

Sets the absolute file path of the local model file.