template <>

class Server

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

Public Methods

void Mute (MuteRequest & request, MuteCompleter::Sync & completer)

Mutes a camera. This is independent from stopping or closing a stream. A muted

camera will not produce any more images until

unmute is called. You can still connect to streams from a muted camera, but they

will not produce frames until the camera is unmuted.

`device_id` refers to the device_id from a previous OnDeviceAvailable call.

void Server ()

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

void Unmute (UnmuteRequest & request, UnmuteCompleter::Sync & completer)
Handler bind_handler (async_dispatcher_t * dispatcher)

|bind_handler| returns a handler that binds incoming connections to this

server implementation.

The returned handler borrows the server instance.

The server must outlive the provided |dispatcher|. Only after

the dispatcher is shutdown will it be safe to destroy the servers.

The server should not be moved.

void ~Server ()

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