template <>

class NaturalEventSender

Defined at line 415 of file fidling/gen/sdk/fidl/fuchsia.camera2/fuchsia.camera2/cpp/fidl/fuchsia.camera2/cpp/natural_messaging.h

Public Methods

::fit::result< ::fidl::OneWayError> OnDeviceAvailable (const ::fuchsia_camera2::ManagerOnDeviceAvailableRequest & payload)

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.

::fit::result< ::fidl::OneWayError> OnDeviceUnavailable (const ::fuchsia_camera2::ManagerOnDeviceUnavailableRequest & payload)

Notifies the client when a camera becomes unavailable.

::fit::result< ::fidl::OneWayError> OnDeviceMuteChanged (const ::fuchsia_camera2::ManagerOnDeviceMuteChangedRequest & payload)

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.