FirebaseModelDownloadConditions.Builder

public static class FirebaseModelDownloadConditions.Builder extends Object

Public Constructor Summary

Public Method Summary

Inherited Method Summary

Object
clone()
boolean
equals(Object arg0)
void
finalize()
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()

Public Constructors

public FirebaseModelDownloadConditions.Builder ()

Public Methods

public FirebaseModelDownloadConditions.Builder requireCharging ()

Sets whether charging is required. Only works on Android N and above.

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.

Only works on Android N and above.

public FirebaseModelDownloadConditions.Builder requireWifi ()

Sets whether wifi is required.

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024

Get help quickly with Firebase support. Read our FAQs, Release notes, and guides, ask the community, then get direct support from the Firebase team.

Updated Oct 3, 2024