template <>

class WireWeakBufferEventSender

Defined at line 3328 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/wire_messaging.h

Public Methods

fidl::OneWayStatus OnDeviceAvailable (int32_t device_id, ::fuchsia_camera2::wire::DeviceInfo description, bool last_known_camera)

Notifies the client when a camera becomes available. A number of these events will

be sent when a client first connects to this protocol.

`device_id` is used to identify the camera. The device_id should not change throughout

the lifetime of the camera.

`last_known_camera` is set to true when the Camera Manager has notified the client

of all the devices it currently knows about.

`description` describes the properties of the camera.

fidl::OneWayStatus OnDeviceUnavailable (int32_t device_id)

Notifies the client when a camera becomes unavailable.

fidl::OneWayStatus OnDeviceMuteChanged (int32_t device_id, bool currently_muted)

Notifies the client when a camera becomes muted or unmuted.

`device_id` refers to the device_id from the description of a previous OnDeviceAvailable

call.