Google is committed to advancing racial equity for Black communities. See how.

CustomModelDownloadConditions

public class CustomModelDownloadConditions extends Object

Conditions to allow download of custom models.

Nested Class Summary

class CustomModelDownloadConditions.Builder Builder of CustomModelDownloadConditions

Public Method Summary

boolean
int
boolean
boolean
boolean

Inherited Method Summary

Public Methods

public boolean equals (Object o)

public int hashCode ()

public boolean isChargingRequired ()

Returns
  • True if charging is required for download.

public boolean isDeviceIdleRequired ()

Returns
  • True if device idle is required for download.

public boolean isWifiRequired ()

Returns
  • True if wifi is required for download.