template <>
class NaturalClientImpl
Defined at line 769 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/natural_messaging.h
Public Methods
::fidl::internal::NaturalThenable< ::fuchsia_bluetooth_bredr::ScoConnection::Read> Read ()
Read the next inbound SCO payload.
Hangs until new data is received.
Only one Read request may be pending at a time. Additional requests will result in protocol
closure.
::fidl::internal::NaturalThenable< ::fuchsia_bluetooth_bredr::ScoConnection::Write> Write (const ::fidl::Request< ::fuchsia_bluetooth_bredr::ScoConnection::Write> & request)
Write `data` to the SCO connection.
If Write tries to send more data than `max_tx_data_size`, the protocol will be closed.
Only one Write request may be pending at a time. Additional requests will result in protocol
closure.
::fit::result< ::fidl::OneWayError> RequestDisconnect ()
Request disconnect of the current connection. The server is expected to close the
protocol once the underlying connection is disconnected. This can be used to order
events to happen after the connection is dropped. If this is not necessary, the
server will always disconnect the SCO when this protocol is closed by the client.