FirebaseLocalModel.Builder

public static class FirebaseLocalModel.Builder extends Object

Builder class of FirebaseLocalModel.

Public Constructor Summary

FirebaseLocalModel.Builder(String modelName)
Creates a new builder to build FirebaseLocalModel.

Public Method Summary

FirebaseLocalModel
FirebaseLocalModel.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.

FirebaseLocalModel.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 FirebaseLocalModel.Builder (String modelName)

Creates a new builder to build FirebaseLocalModel.

Public Methods

public FirebaseLocalModel build ()

Returns

public FirebaseLocalModel.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 FirebaseLocalModel.Builder setFilePath (String filePath)

Sets the absolute file path of the local model file.

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 30, 2024

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Aug 8, 2020

Firebase gives you the tools and infrastructure you need to build better mobile and web apps, improve app quality, and grow your business.

Updated Apr 30, 2024