共用方式為


PlayAudioOptions Class

Definition

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.

Applies to