template <>
class Server
Defined at line 126 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/cpp/natural_messaging.h
Public Methods
void GetChannel (GetChannelRequest & request, GetChannelCompleter::Sync & completer)
Note: this method obtains a channel to the capture device which
communicates using a non-simple fidl interface. Once the
system has been updated to support normal fidl protocols, this method
can be replaced with the protocol itself.
Additionally, while the camera stack is migrating from camera to
camera2, two methods are available, corresponding to the two
versions of the protocol.
void GetChannel2 (GetChannel2Request & request, GetChannel2Completer::Sync & completer)
void GetDebugChannel (GetDebugChannelRequest & request, GetDebugChannelCompleter::Sync & completer)
void Server ()
Defined at line 129 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/cpp/natural_messaging.h
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 130 of file fidling/gen/sdk/fidl/fuchsia.hardware.camera/fuchsia.hardware.camera/cpp/fidl/fuchsia.hardware.camera/cpp/natural_messaging.h