projects/moments/app/src/main/java/io/v/moments/v23/ifc/Scanner.java
/**
     * Asynchronously start scanning.
     *
     * Callbacks can be expected to run on the UX thread.
     *
     * @param onStart       Callback with success or failure handlers for scan
     *                      startup.  A success can switch a toggle button to
     *                      "on".
     * @param foundListener Handler executed on each found newly found
     *                      advertisement.
     * @param lostListener  Handler executed on each previously seen but now
     *                      lost advertisement.
     * @param onStop        Callback with success or failure handlers for scan
     *                      shutdown. A scan might shutdown for reasons other
     *                      than a call to stop, e.g. a timeout.  The callback
     *                      can, say, switch a toggle button back to "off".
     * @param timeout       Amount of time until the scan self-cancels.
     */
Asynchronously start scanning.
Callbacks can be expected to run on the UX thread.

@param onStart       Callback with success or failure handlers for scan
startup.  A success can switch a toggle button to
"on".
@param foundListener Handler executed on each found newly found
advertisement.
@param lostListener  Handler executed on each previously seen but now
lost advertisement.
@param onStop        Callback with success or failure handlers for scan
shutdown. A scan might shutdown for reasons other
than a call to stop, e.g. a timeout.  The callback
can, say, switch a toggle button back to "off".
@param timeout       Amount of time until the scan self-cancels.
Asynchronously start scanning . Callbacks can be expected to run on the UX thread . @param onStart Callback with success or failure handlers for scan startup . A success can switch a toggle button to " on " . @param foundListener Handler executed on each found newly found advertisement . @param lostListener Handler executed on each previously seen but now lost advertisement . @param onStop Callback with success or failure handlers for scan shutdown . A scan might shutdown for reasons other than a call to stop e . g . a timeout . The callback can say switch a toggle button back to " off " . @param timeout Amount of time until the scan self - cancels .
void start(FutureCallback<Void> onStart,
               AdvertisementFoundListener foundListener,
               AdvertisementLostListener lostListener,
               FutureCallback<Void> onStop,
               Duration timeout);
void start ( FutureCallback < Void > onStart , AdvertisementFoundListener foundListener , AdvertisementLostListener lostListener , FutureCallback < Void > onStop , Duration timeout ) ;
Asynchronously start scanning.
Asynchronously start scanning .