By inserting a bookmark into a prompt you can identify a particular moment of time with a specific position in the prompt. One use for bookmarks is to permit an application to track the time between when a prompt was played and when a customer service representative responded to a customer's call.
To insert a prompt into a PromptBuilder prompt, call AppendBookmark(String), providing the name of the bookmark.
C# | Copy Code |
---|---|
PromptBuilder pb = new PromptBuilder(); pb.AppendText("A customer service representative will be with you shortly."); pb.AppendBookmark("Bookmark1"); synth.Speak(pb); |