dronecode_sdk::Camera::Status Struct Reference

#include: camera.h


Information about camera status.

Public Types

Type Description
enum StorageStatus Storage status type.

Data Fields

bool video_on - true if video capture is currently running.

bool photo_interval_on - true if video timelapse is currently active.

enum dronecode_sdk::Camera::Status::StorageStatus storage_status - Storage status.

float used_storage_mib - Used storage in MiB.

float available_storage_mib - Available storage in MiB.

float total_storage_mib - Total storage in MiB.

float recording_time_s - Elapsed time since starting a video recording in seconds.

std::string media_folder_name - Current folder name where media is saved.

Member Enumeration Documentation

enum StorageStatus

Storage status type.

Value Description
NOT_AVAILABLE Storage status not available.
UNFORMATTED Storage is not formatted (has no recognized file system).
FORMATTED Storage is formatted (has recognized a file system).

Field Documentation

video_on

bool dronecode_sdk::Camera::Status::video_on

true if video capture is currently running.

photo_interval_on

bool dronecode_sdk::Camera::Status::photo_interval_on

true if video timelapse is currently active.

storage_status

enum dronecode_sdk::Camera::Status::StorageStatus  dronecode_sdk::Camera::Status::storage_status

Storage status.

used_storage_mib

float dronecode_sdk::Camera::Status::used_storage_mib

Used storage in MiB.

available_storage_mib

float dronecode_sdk::Camera::Status::available_storage_mib

Available storage in MiB.

total_storage_mib

float dronecode_sdk::Camera::Status::total_storage_mib

Total storage in MiB.

recording_time_s

float dronecode_sdk::Camera::Status::recording_time_s

Elapsed time since starting a video recording in seconds.

media_folder_name

std::string dronecode_sdk::Camera::Status::media_folder_name

Current folder name where media is saved.

© Dronecode 2017. License: CC BY 4.0            Updated: 2018-09-20 23:28:43

results matching ""

    No results matching ""