findByCodeOnline

open fun findByCodeOnline(scannedCode: ScannedCode, productAvailableListener: OnProductAvailableListener)

Finds a product via its scannable code over the network, if the service is available.

Searches the local database first before making any network calls.


open fun findByCodeOnline(scannedCode: ScannedCode, productAvailableListener: OnProductAvailableListener, onlineOnly: Boolean)

Finds a product via its scannable code over the network, if the service is available.

If onlineOnly is true, it does not search the local database first and only searches online.