You can use the M8 connector on OAK cameras (including OAK-D-S2-POE, OAK 4D, and OAK 4S) to trigger the RGB camera via an external signal, but the implementation depends on the sensor type and firmware support.
Use CameraControl.setFrameSyncMode() to set FSIN as input or output (depending on your setup).
For STROBE control, configure the signal timing to match sensor exposure (e.g., via CameraControl.setExternalTrigger()).