Community
cancel
Showing results for 
Search instead for 
Did you mean: 
KKasu
Beginner
48 Views

Java - PXCMPlatformCameraControl Class missing

Hi all

I am doing a program on java and I am using the documentation. To take a photo it gives sample code as bellow

 

class MyHandler impements PXCMPlatformCameraControl.Handler {
    public void OnPlatformCameraSample(PXCMCapture.Sample sample) {
    }
    public void OnPlatformCameraError() {
    }
};
 
// pcc is a PXCMPlatformCameraControl interface
// Retrieve the photo configuration
PXCMCapture.Device.StreamProfile profile=new PXCMCapture.Device.StreamProfile();
pcc.EnumPhotoProfile(0, profile);
 
// Take a photo
MyHandler handler=new MyHandler();
pcc.TakePhoto(profile, hanlder);

 

I cannot find PXCMPlatformCameraControl class in the libpxcclr.java.jar file.

Is anyone come across this issue.

 

Kind Regards

Kasun

0 Kudos
0 Replies
Reply