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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003ePlayAudio\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace and is designed to specify an audio clip to be played by a client as part of a response.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePlayAudio\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for functionalities like message handling, object comparison, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a default constructor (\u003ccode\u003ePlayAudio()\u003c/code\u003e) and one that accepts another \u003ccode\u003ePlayAudio\u003c/code\u003e object as a parameter (\u003ccode\u003ePlayAudio(ResponseMessage.Types.PlayAudio other)\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eIt has two properties, \u003ccode\u003eAllowPlaybackInterruption\u003c/code\u003e which determines if the user can interrupt the audio playback, and \u003ccode\u003eAudioUri\u003c/code\u003e which is a string for the audio clip's URI.\u003c/p\u003e\n"],["\u003cp\u003eThis page also includes various versions of the \u003ccode\u003ePlayAudio\u003c/code\u003e class ranging from the latest \u003ccode\u003e2.23.0\u003c/code\u003e to the original \u003ccode\u003e1.0.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]