FirebaseModelDownloadConditions.Builder

public static class FirebaseModelDownloadConditions.Builder extends Object

Public Constructor Summary

Public Method Summary

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