public static class FirebaseModelDownloadConditions.Builder extends Object
Builder of
FirebaseModelDownloadConditions
.
Public Constructor Summary
Public Method Summary
FirebaseModelDownloadConditions |
build()
Builds
FirebaseModelDownloadConditions .
|
FirebaseModelDownloadConditions.Builder |
requireCharging()
Sets whether charging is required.
|
FirebaseModelDownloadConditions.Builder |
requireDeviceIdle()
Sets whether device idle is required.
|
FirebaseModelDownloadConditions.Builder |
requireWifi()
Sets whether wifi is required.
|
Inherited Method Summary
Public Constructors
public FirebaseModelDownloadConditions.Builder ()
Public Methods
public FirebaseModelDownloadConditions build ()
Builds
FirebaseModelDownloadConditions
.
public FirebaseModelDownloadConditions.Builder requireCharging ()
Sets whether charging is required.
public FirebaseModelDownloadConditions.Builder requireDeviceIdle ()
Sets whether device idle is required.
Idle mode is a loose definition provided by the system, which means that the device is not in use, and has not been in use for some time.
public FirebaseModelDownloadConditions.Builder requireWifi ()
Sets whether wifi is required.