template <>

class NaturalClientImpl

Defined at line 396 of file fidling/gen/sdk/fidl/fuchsia.camera3/fuchsia.camera3/cpp/fidl/fuchsia.camera3/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::GetIdentifier> GetIdentifier ()

Returns an identifier for the camera. If present, identical devices on different systems

will have the same identifier. Clients may use this to determine if additional semantics

known a priori for a given device apply to the current camera.

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::GetConfigurations> GetConfigurations ()

Returns a list of configurations supported by the camera. All cameras will have at least

one configuration. The values returned are immutable - they will not change for the

lifetime of the client's connection to the Camera.

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::GetConfigurations2> GetConfigurations2 ()

Returns a list of configurations supported by the camera. All cameras will have at least

one configuration. The values returned are immutable - they will not change for the

lifetime of the client's connection to the Camera.

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::WatchCurrentConfiguration> WatchCurrentConfiguration ()

Returns the index of the current configuration when it has changed from a previously

returned configuration, or is called by a client for the first time.

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::WatchMuteState> WatchMuteState ()

Returns the camera's current mute state when it has changed from a previously returned

state, or is called by a client for the first time. A camera may be muted using

SetSoftwareMuteState or by a physical switch. If either muted mode is active, stream

clients associated with this physical camera will stop receiving new frames.

::fidl::internal::NaturalThenable< ::fuchsia_camera3::Device::SetSoftwareMuteState> SetSoftwareMuteState (const ::fidl::Request< ::fuchsia_camera3::Device::SetSoftwareMuteState> & request)

Sets the current camera's software mute state. When transitioning to the muted state, this

method returns when the camera has successfully ceased sending new frames to stream

clients. When transitioning to the unmuted state, this method returns immediately.

::fit::result< ::fidl::OneWayError> SetCurrentConfiguration (const ::fidl::Request< ::fuchsia_camera3::Device::SetCurrentConfiguration> & request)

Sets the configuration using the provided index. Calling this method disconnects any

existing Stream clients associated with this camera. An epitaph of ZX_OK

will be sent for any connected Stream clients on closing.

::fit::result< ::fidl::OneWayError> ConnectToStream (::fidl::Request< ::fuchsia_camera3::Device::ConnectToStream> request)

Connects to the Stream at the provided index. If any clients already exist for this stream,

the request is closed with the ZX_ERR_ALREADY_BOUND epitaph.

::fit::result< ::fidl::OneWayError> Rebind (::fidl::Request< ::fuchsia_camera3::Device::Rebind> request)

Request another connection to this Device. This allows a client to delegate different

operations to different coordinated clients.