CameraWizard (v2.0)

class CameraWizard

CameraWizard(CameraWizardDelegate delegate);

Constructs CameraWizard instance.

addDevice(Device device, String cameraName, Long zoneId);

Adds a device to a specific zone specified by zoneId.  For mode details about Device class check CameraSniffer (v3.0) page.

protocol CameraWizardDelegate

@required onAdded(Camera camera);

If everything went ok, will get called after the camera has been added.

@required onError(MobileSDKError error, Device device);

Will get called if there's an error in the process of adding a camera.

class SystemProperties 

String getName();

Returns name of camera in system.

Int getZoneId();

Returns zone ID of camera in system.

Int getCameraId();

Returns ID of camera in system.

class Camera

Device getDevice();

Returns device info of camera. For mode details about Device class check CameraStreamer page.

SystemProperties getProperties();

Returns properties of camera.