template <>

class NaturalSyncClientImpl

Defined at line 444 of file fidling/gen/sdk/fidl/fuchsia.audio/fuchsia.audio/cpp/fidl/fuchsia.audio/cpp/natural_messaging.h

Public Methods

::fit::result< ::fidl::OneWayError> PutPacket (::fidl::Request< ::fuchsia_audio::StreamSink::PutPacket> request)

Puts a packet to the sink.

::fit::result< ::fidl::OneWayError> StartSegment (const ::fidl::Request< ::fuchsia_audio::StreamSink::StartSegment> & request)

Starts a new segment. Packets following this request and preceding the next such request

are assigned to the segment.

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

Indicates that the end of the stream has been reached. Consumers such as audio renderers

signal their clients when the last packet before end-of-stream has been rendered, so the

client knows when to, for example, change the UI state of a player to let the user know the

content is done playing. This method is logically scoped to the current segment. A

`SetSegment` request and (typically) more packets may follow this request.

::fit::result< ::fidl::OneWayError> WillClose (const ::fidl::Request< ::fuchsia_audio::StreamSink::WillClose> & request)

Sent immediately before the producer closes to indicate why the producer is closing the

connection. After sending this request, the producer must refrain from sending any more

messages and close the connection promptly.