CustomModelDownloadConditions

public class CustomModelDownloadConditions


Conditions to allow download of custom models.

Summary

Public fields

final boolean
final boolean
final boolean

Public methods

boolean
int
boolean
boolean
boolean

Public fields

isChargingRequired

public final boolean isChargingRequired

isDeviceIdleRequired

public final boolean isDeviceIdleRequired

isWifiRequired

public final boolean isWifiRequired

Public methods

equals

public boolean equals(Object o)

hashCode

public int hashCode()

isChargingRequired

public boolean isChargingRequired()
Returns
boolean

True if charging is required for download.

isDeviceIdleRequired

public boolean isDeviceIdleRequired()
Returns
boolean

True if device idle is required for download.

isWifiRequired

public boolean isWifiRequired()
Returns
boolean

True if wifi is required for download.