class Channel

Defined at line 586 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

A channel opened to a peer.

Public Methods

void Channel ()

Defined at line 588 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

void Channel (const Channel & other)

Defined at line 589 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

void Channel (Channel && other)

Defined at line 591 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

bool IsEmpty ()

Returns whether no field is set.

bool HasUnknownData ()

Returns whether the table references unknown fields.

void _CloseHandles ()
::fidl::WireTableBuilder< ::fuchsia_bluetooth_bredr::wire::Channel> Builder (::fidl::AnyArena & arena)

Return a builder that by defaults allocates of an arena.

::fidl::WireTableExternalBuilder< ::fuchsia_bluetooth_bredr::wire::Channel> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_bluetooth_bredr::wire::Channel>> frame)

Return a builder that relies on explicitly allocating |fidl::ObjectView|s.

::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.

bool has_socket ()
::fuchsia_bluetooth::wire::ChannelMode & channel_mode ()

Channel mode accepted by the peer.

Always present.

bool has_channel_mode ()
uint16_t & max_tx_sdu_size ()

Maximum SDU size the peer is capable of accepting.

Always present.

bool has_max_tx_sdu_size ()
::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioDirectionExt> & ext_direction ()

Audio Direction priority extension. See `AudioDirectionExt`.

Present only if supported.

bool has_ext_direction ()
int64_t & flush_timeout ()
bool has_flush_timeout ()
::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::L2capParametersExt> & ext_l2cap ()

L2CAP parameter extension. See `L2capParametersExt`.

Always present for L2CAP Channels, never present for other Channels.

bool has_ext_l2cap ()
::fidl::ClientEnd< ::fuchsia_bluetooth_bredr::AudioOffloadExt> & ext_audio_offload ()

Audio offload extension. See `AudioOffloadExt`.

Present only if supported.

bool has_ext_audio_offload ()
::fidl::ClientEnd< ::fuchsia_bluetooth::Channel> & connection ()

Protocol for sending/receiving SDUs on the channel.

If present, closing this and `socket` will close the channel.

bool has_connection ()
Channel & operator= (const Channel & other)

Defined at line 590 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

Channel & operator= (Channel && other)

Defined at line 592 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

void ~Channel ()

Defined at line 594 of file fidling/gen/sdk/fidl/fuchsia.bluetooth.bredr/fuchsia.bluetooth.bredr/cpp/fidl/fuchsia.bluetooth.bredr/cpp/wire_types.h

Friends

class WireTableBaseBuilder
class WireTableBaseBuilder