class Channel
Defined at line 388 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/natural_types.h
A channel opened to a peer.
Public Methods
void Channel ()
Defined at line 393 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/natural_types.h
void Channel (Channel && )
Defined at line 394 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/natural_types.h
void Channel (Storage_ storage)
bool IsEmpty ()
const std::optional< ::zx::socket> & socket ()
Deprecated.
Socket interface for sending/receiving SDUs on the channel.
The channel will be closed if both this socket and the Connection are closed.
Always present.
::std::optional< ::zx::socket> & socket ()
Deprecated.
Socket interface for sending/receiving SDUs on the channel.
The channel will be closed if both this socket and the Connection are closed.
Always present.
Channel & socket (std::optional< ::zx::socket> value)
Deprecated.
Socket interface for sending/receiving SDUs on the channel.
The channel will be closed if both this socket and the Connection are closed.
Always present.
const std::optional< ::fuchsia_bluetooth::ChannelMode> & channel_mode ()
Channel mode accepted by the peer.
Always present.
::std::optional< ::fuchsia_bluetooth::ChannelMode> & channel_mode ()
Channel mode accepted by the peer.
Always present.
Channel & channel_mode (std::optional< ::fuchsia_bluetooth::ChannelMode> value)
Channel mode accepted by the peer.
Always present.
const std::optional<uint16_t> & max_tx_sdu_size ()
Maximum SDU size the peer is capable of accepting.
Always present.
::std::optional<uint16_t> & max_tx_sdu_size ()
Maximum SDU size the peer is capable of accepting.
Always present.
Channel & max_tx_sdu_size (std::optional<uint16_t> value)
Maximum SDU size the peer is capable of accepting.
Always present.
const std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt>> & ext_direction ()
Audio Direction priority extension. See `AudioDirectionExt`.
Present only if supported.
::std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt>> & ext_direction ()
Audio Direction priority extension. See `AudioDirectionExt`.
Present only if supported.
Channel & ext_direction (std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt>> value)
Audio Direction priority extension. See `AudioDirectionExt`.
Present only if supported.
const std::optional<int64_t> & flush_timeout ()
::std::optional<int64_t> & flush_timeout ()
Channel & flush_timeout (std::optional<int64_t> value)
Setter for flush_timeout.
const std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt>> & ext_l2cap ()
L2CAP parameter extension. See `L2capParametersExt`.
Always present for L2CAP Channels, never present for other Channels.
::std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt>> & ext_l2cap ()
L2CAP parameter extension. See `L2capParametersExt`.
Always present for L2CAP Channels, never present for other Channels.
Channel & ext_l2cap (std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt>> value)
L2CAP parameter extension. See `L2capParametersExt`.
Always present for L2CAP Channels, never present for other Channels.
const std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt>> & ext_audio_offload ()
Audio offload extension. See `AudioOffloadExt`.
Present only if supported.
::std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt>> & ext_audio_offload ()
Audio offload extension. See `AudioOffloadExt`.
Present only if supported.
Channel & ext_audio_offload (std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt>> value)
Audio offload extension. See `AudioOffloadExt`.
Present only if supported.
const std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth::Channel>> & connection ()
Protocol for sending/receiving SDUs on the channel.
If present, closing this and `socket` will close the channel.
::std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth::Channel>> & connection ()
Protocol for sending/receiving SDUs on the channel.
If present, closing this and `socket` will close the channel.
Channel & connection (std::optional< ::fidl::ClientEnd< ::fuchsia_bluetooth::Channel>> value)
Protocol for sending/receiving SDUs on the channel.
If present, closing this and `socket` will close the channel.
void Channel (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Channel & operator= (Channel && )
Defined at line 395 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/natural_types.h
Friends
class MemberVisitor
class NaturalTableCodingTraits