static startScan(callback) {
    let subscription = subscriptionMap.get(TTLockEvent.ScanLock);

    if (subscription !== undefined) {
      subscription.remove();
    }

    callback = callback || this.defaultCallback;
    subscription = ttlockEventEmitter.addListener(TTLockEvent.ScanLock, callback);
    subscriptionMap.set(TTLockEvent.ScanLock, subscription);
    ttlockModule.startScan();
  }
/**
   * Scan for nearby Bluetooth locks
   * @param callback  The Callback will be executed multiple times if there is a Bluetooth lock nearby
   */
Scan for nearby Bluetooth locks
@param callback  The Callback will be executed multiple times if there is a Bluetooth lock nearby
Scan for nearby Bluetooth locks @param callback The Callback will be executed multiple times if there is a Bluetooth lock nearby
static startScan(callback) {
    let subscription = subscriptionMap.get(TTLockEvent.ScanLock);
    if (subscription !== undefined) {
      subscription.remove();
    }
    callback = callback || this.defaultCallback;
    subscription = ttlockEventEmitter.addListener(TTLockEvent.ScanLock, callback);
    subscriptionMap.set(TTLockEvent.ScanLock, subscription);
    ttlockModule.startScan();
  }
static startScan ( callback ) { let subscription = subscriptionMap . get ( TTLockEvent . ScanLock ) ; if ( subscription !== undefined ) { subscription . remove ( ) ; } callback = callback || this . defaultCallback ; subscription = ttlockEventEmitter . addListener ( TTLockEvent . ScanLock , callback ) ; subscriptionMap . set ( TTLockEvent . ScanLock , subscription ) ; ttlockModule . startScan ( ) ; }
Scan for nearby Bluetooth locks
 @param callback  The Callback will be executed multiple times if there is a Bluetooth lock nearby
Scan for nearby Bluetooth locks @param callback The Callback will be executed multiple times if there is a Bluetooth lock nearby