public boolean frameAvailableSoon(){
synchronized (mSync) {
    if (!mIsCapturing || mRequestStop) {
      return false;
    }
    mRequestDrain++;
    mSync.notifyAll();
  }
  return true;
}

public boolean frameAvailableSoon ( ) { synchronized ( mSync ) { if ( ! mIsCapturing || mRequestStop ) { return false ; } mRequestDrain ++ ; mSync . notifyAll ( ) ; } return true ; }
the method to indicate frame data is soon available or already available
