Class ResponseMessage.Types.PlayAudio (1.11.0)

public sealed class PlayAudio : IMessage<ResponseMessage.Types.PlayAudio>, IEquatable<ResponseMessage.Types.PlayAudio>, IDeepCloneable<ResponseMessage.Types.PlayAudio>, IBufferMessage, IMessage

Specifies an audio clip to be played by the client as part of the response.

Inheritance

Object > ResponseMessage.Types.PlayAudio

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

PlayAudio()

public PlayAudio()

PlayAudio(ResponseMessage.Types.PlayAudio)

public PlayAudio(ResponseMessage.Types.PlayAudio other)
Parameter
NameDescription
otherResponseMessage.Types.PlayAudio

Properties

AllowPlaybackInterruption

public bool AllowPlaybackInterruption { get; set; }

Output only. Whether the playback of this message can be interrupted by the end user's speech and the client can then starts the next Dialogflow request.

Property Value
TypeDescription
Boolean

AudioUri

public string AudioUri { get; set; }

Required. URI of the audio clip. Dialogflow does not impose any validation on this value. It is specific to the client that reads it.

Property Value
TypeDescription
String