Record Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This is the action which customers can specify to indicate that the server call agent should start recording user speech.
public class Record : Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.ActionBase
type Record = class
inherit ActionBase
Public Class Record
Inherits ActionBase
- Inheritance
Constructors
| Record() |
Properties
| Action |
The type of action. Various concrete action classes specify their name. This is used to deserialize a list of actions from JSON to their respective concrete classes. (Inherited from ActionBase) |
| InitialSilenceTimeoutInSeconds |
Maximum initial silence allowed from the time we start the recording operation before we timeout and fail the operation. Default : 5 |
| IsStandaloneAction |
Flag to indicate whether this action must not be specified along with any other actions. (Inherited from ActionBase) |
| MaxDurationInSeconds |
Maximum duration of recording . Default : 180 secs |
| MaxSilenceTimeoutInSeconds |
Maximum allowed silence once the user has started speaking before we conclude the user is done recording. Default : 1 |
| OperationId |
An operation Id needs to be specified by customer so that they can correlate outcome to the action. This becomes necessary when multiple actions are specified in one response body Note: this is the first serialized field since it has the lowest order. By default Json.net starts ordering from -1. (Inherited from ActionBase) |
| PlayBeep |
If specified "true", then we would play a beep before starting recording operation Default : true |
| PlayPrompt |
Promt to played out (if any) before recording starts. Customers can choose to specify "playPrompt" action separately or specify as part of "record" - mostly all recordings are preceeded by a prompt |
| RecordingFormat |
The format is which the recording is expected. Default : wma |
| StopTones |
Stop patterns which users can punch to end recording. Ex: " Press pound when done recording" Or "Press 11 when done recording". Note: each stop tone is a string, since the application might potentially want to stop recording based on when user presses # or 11. Thus multiple digits together might constitute a single stop tone pattern. Hence it is represented as a string and not an int. Default : none TODO : change to string from char later when scenario emerges |
Methods
| Validate() |