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