Camera Information
This page shows you how to obtain camera information using RICOH Camera Wireless SDK.
Contents
Related Classes
The following interfaces and classes are used when you obtain camera information:
CameraDevice
- The
CameraDevice
protocol represents a camera device. - This protocol includes methods for obtaining camera information and operating camera device.
CameraStatus
- The
CameraStatus
protocol represents camera status.
Obtain Camera Information
Use CameraDevice
’s methods to obtain camera information such as model name and firmware version.
// Manufacturer Name
let manufacturer = cameraDevice.manufacturer
// Model Name
let model = cameraDevice.model
// Firmware Version
let firmwareVersion = cameraDevice.firmwareVersion
// Serial Number
let serialNumber = cameraDevice.serialNumber
Obtain Camera Status
Use CameraStatus
’s method to obtain camera status such as charge level.
// Battery Level(%)
let batteryLevel = cameraDevice.status.batteryLevel