void registerCallback(BluetoothCallback callback){
synchronized (mCallbacks) {
    mCallbacks.add(callback);
  }
}

void registerCallback ( BluetoothCallback callback ) { synchronized ( mCallbacks ) { mCallbacks . add ( callback ) ; } }
register to start receiving callbacks for bluetooth events .
