FirebaseLocalModelSource.Builder

public static class FirebaseLocalModelSource.Builder extends Object

Builder class of FirebaseLocalModelSource.

Public Constructor Summary

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

Public Method Summary

FirebaseLocalModelSource
FirebaseLocalModelSource.Builder
setAssetFilePath(String assetFilePath)
Sets the asset sub-path of the asset model file

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

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

Inherited Method Summary

Public Constructors

public FirebaseLocalModelSource.Builder (String modelName)

Creates a new builder to build FirebaseLocalModelSource.

Public Methods

public FirebaseLocalModelSource build ()

Returns

public FirebaseLocalModelSource.Builder setAssetFilePath (String assetFilePath)

Sets the asset sub-path of the asset model file

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

public FirebaseLocalModelSource.Builder setFilePath (String filePath)

Sets the absolute file path of the local model file.

Send feedback about...

Need help? Visit our support page.