public class

Camera

extends Object
java.lang.Object
   ↳ com.cisco.hardware.Camera

Class Overview

The Camera class provides you access to the front-facing camera on the Cius.

Summary

Nested Classes
class Camera.CameraInfo The CameraInfo class provides information about the Cameras on this device 
Constants
int CIUS_CAM_NUM Reference variable to the number of cameras on the Cius
Public Constructors
Camera()
Public Methods
static void getCameraInfo(int cameraId, Camera.CameraInfo cameraInfo)
Uses the current cameraId to retrieve the information on it and stores it in cameraInfo
static int getNumberOfCameras()
Gets the number of Cameras for the device
static Camera open(int cameraId)
Opens the Camera with the specified cameraId
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int CIUS_CAM_NUM

Reference variable to the number of cameras on the Cius

Constant Value: 2 (0x00000002)

Public Constructors

public Camera ()

Public Methods

public static void getCameraInfo (int cameraId, Camera.CameraInfo cameraInfo)

Uses the current cameraId to retrieve the information on it and stores it in cameraInfo

public static int getNumberOfCameras ()

Gets the number of Cameras for the device

Returns
  • int

public static Camera open (int cameraId)

Opens the Camera with the specified cameraId

Returns
  • Camera