template <>

class NaturalClientImpl

Defined at line 1911 of file fidling/gen/sdk/fidl/fuchsia.media/fuchsia.media/cpp/fidl/fuchsia.media/cpp/natural_messaging.h

Public Methods

::fidl::internal::NaturalThenable< ::fuchsia_media::StreamSink::SendPacket> SendPacket (const ::fidl::Request< ::fuchsia_media::StreamSink::SendPacket> & request)

Sends a packet to the service. The response is sent when the service is

done with the associated payload memory.

`packet` must be valid for the current buffer set, otherwise the service

will close the connection.

::fidl::internal::NaturalThenable< ::fuchsia_media::StreamSink::DiscardAllPackets> DiscardAllPackets ()

Discards packets previously sent via `SendPacket` or `SendPacketNoReply`

and not yet released. The response is sent after all packets have been

released.

::fit::result< ::fidl::OneWayError> SendPacketNoReply (const ::fidl::Request< ::fuchsia_media::StreamSink::SendPacketNoReply> & request)

Sends a packet to the service. This interface doesn't define how the

client knows when the sink is done with the associated payload memory.

The inheriting interface must define that.

`packet` must be valid for the current buffer set, otherwise the service

will close the connection.

::fit::result< ::fidl::OneWayError> EndOfStream ()

Indicates the stream has ended. The precise semantics of this method are

determined by the inheriting interface.

::fit::result< ::fidl::OneWayError> DiscardAllPacketsNoReply ()

Discards packets previously sent via `SendPacket` or `SendPacketNoReply`

and not yet released.