class FakeCamera

Defined at line 20 of file ../../src/camera/lib/fake_camera/fake_camera.h

This class provides a mechanism for simulating a camera device, controller driver, and content

streams. All methods are thread-safe.

Public Methods

fpromise::result<std::unique_ptr<FakeCamera>, zx_status_t> Create (std::string identifier, std::vector<FakeConfiguration> configurations)

Create a fake camera with the given identifier and configurations.

Defined at line 17 of file ../../src/camera/lib/fake_camera/fake_camera_impl.cc

fidl::InterfaceRequestHandler<fuchsia::camera3::Device> GetHandler ()

Returns a request handler for the Device interface.

void SetHardwareMuteState (bool muted)

Sets the state of the fake physical mute switch.

void ~FakeCamera ()

Defined at line 22 of file ../../src/camera/lib/fake_camera/fake_camera.h