How to use Camera Burst Mode programmatically ?

I am trying to use the burst camera mode on an Xperia Z phone and I’ve just got started with openframeworks for android and I don’t have a lot of experience with the android sdk/ndk.

I did however manage to compile AOSP:https://github.com/sonyxperiadev/device-sony-c6603
(eventually) and noticed there is a BurstCapture class which gets compiled into libcameraservice.so

I would like to use the burst camera mode from openframeworks for android but I don’t know where to start.

Can someone please help with some hint/pointers ?

Thanks,
George