DeviceAvailabilityListener

interface DeviceAvailabilityListener
com.google.android.gms.dtdi.core.DeviceAvailabilityListener

Summary

Public methods

abstract Unit

Called when the availability of nearby devices has changed.

Public methods

onDeviceAvailabilityChanged

abstract fun onDeviceAvailabilityChanged(devicesAvailable: Boolean): Unit

Called when the availability of nearby devices has changed. Currently we only support same GAIA device scanning. Note that the listener is only notified when the number of available devices has decreased to 0 or increased from 0 to 1+.