public static class FirebaseLocalModel.Builder extends Object
Builder class of
FirebaseLocalModel
.
Public Constructor Summary
Public Method Summary
FirebaseLocalModel |
build()
|
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 |
Inherited Method Summary
Public Constructors
public FirebaseLocalModel.Builder (String modelName)
Creates a new builder to build
FirebaseLocalModel
.
Public Methods
public FirebaseLocalModel build ()
Returns
- an instance of
FirebaseLocalModel
with provided info.
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.