callback static method

void callback(
  1. FTR_USER_CTX context,
  2. int stateMask,
  3. Pointer<FTR_RESPONSE> response,
  4. int signal,
  5. Pointer<FTR_BITMAP> pBitmap,
)

Implementation

static void callback(FTR_USER_CTX context, int stateMask,
    Pointer<FTR_RESPONSE> response, int signal, Pointer<FTR_BITMAP> pBitmap) {
  FutronicStatus actualStatus =
      FutronicStatus(currentStatus: signal, response: response);
  sendPort?.send(actualStatus);
}