1 package iotcode.interfaces;
4 import java.util.ArrayList;
6 public interface CameraSmart {
8 public int getMaxFPS();
9 public boolean setFPS(int _fps);
10 public int getMinFPS();
11 public boolean setResolution(Resolution _res);
14 public long getTimestamp();
15 public byte[] getLatestFrame();
17 public void registerCallback(CameraCallback _callbackTo);
18 public List<Resolution> getSupportedResolutions();