blob: 2ada92f9404dba2e0d1af74ca2949bbc5a5d6bb9 [file] [log] [blame]
/*
* Copyright (C) 2024 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#include <CameraModule.h>
namespace android {
namespace hardware {
namespace camera {
namespace common {
namespace helper {
class SamsungCameraModule : public CameraModule {
public:
explicit SamsungCameraModule(camera_module_t* module);
virtual ~SamsungCameraModule();
bool isSetTorchModeStrengthSupported();
int setTorchModeStrength(const char* camera_id, bool enable, int strength);
private:
camera_module_t* mModule;
};
} // namespace helper
} // namespace common
} // namespace camera
} // namespace hardware
} // namespace android