Software Archive
Read-only legacy content
17061 Discussions

Java - PXCMPlatformCameraControl Class missing

KKasu
Beginner
339 Views

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