void function ( ) { if ( mArdiscoveryService != null ) { Log . i ( TAG , "srini_string" ) ; mDiscoveryListener . onServicesDevicesListUpdated ( ) ; mArdiscoveryService . start ( ) ; mStartDiscoveryAfterConnection = false ; } else { mStartDiscoveryAfterConnection = true ; } }
start discovering parrot drones for wifi drones , the device should be on the drone 's network when drones will be discovered , you will be notified through listener #ondroneslistupdated list concode_field_sep ServiceConnection mArdiscoveryServiceConnection concode_elem_sep ARDiscoveryServicesDevicesListUpdatedReceiver mArdiscoveryServicesDevicesListUpdatedReceiver concode_elem_sep String TAG concode_elem_sep List<Listener> mListeners concode_elem_sep List<ARDiscoveryDeviceService> mMatchingDrones concode_elem_sep ARDiscoveryServicesDevicesListUpdatedReceiverDelegate mDiscoveryListener concode_elem_sep Context mCtx concode_elem_sep ARDiscoveryService mArdiscoveryService concode_elem_sep boolean mStartDiscoveryAfterConnection concode_field_sep void cleanup concode_elem_sep void onServicesDevicesListUpdated concode_elem_sep void setup concode_elem_sep void stopDiscovering concode_elem_sep void removeListener concode_elem_sep void notifyServiceDiscovered concode_elem_sep void onDronesListUpdated concode_elem_sep void addListener