OHOS::Media::CameraKit
Overview
Related Modules:
Description:
Provides functions in the CameraKit class.
Since:
1.0
Version:
1.0
Summary
Public Member Functions
~CameraKit () |
A destructor used to delete the CameraKit instance. |
GetCameraIds () |
|
GetCameraAbility (std::string cameraId) |
const CameraAbility * Obtains the camera capability, including the resolutions and frame rates. |
RegisterCameraDeviceCallback (CameraDeviceCallback &callback, EventHandler &handler) |
Registers a camera callback for camera status changes and an event callback to respond to a triggered event. |
UnregisterCameraDeviceCallback (CameraDeviceCallback &callback) |
|
CreateCamera (const std::string &cameraId, CameraStateCallback &callback, EventHandler &handler) |
Static Public Member Functions
GetInstance () |
static CameraKit * Obtains a single instance of the CameraKit. |