PlayAudioOptions 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.
Options for playing audio.
public class PlayAudioOptions
type PlayAudioOptions = class
Public Class PlayAudioOptions
- Inheritance
-
PlayAudioOptions
Constructors
PlayAudioOptions() |
Properties
AudioFileId |
An id for the media in the AudioFileUri, using which we cache the media resource. |
AudioFileUri |
The media resource uri of the play audio request. Currently only Wave file (.wav) format audio prompts are supported. More specifically, the audio content in the wave file must be mono (single-channel), 16-bit samples with a 16,000 (16KHz) sampling rate. |
CallbackUri |
The callback Uri to receive PlayAudio status notifications. |
Loop |
The flag indicating whether audio file needs to be played in loop or not. |
OperationContext |
The value to identify context of the operation. |