Click or drag to resize

VoiceResourcePlayVap Method (Int32)

Plays a single segment of the current VAP File.

Namespace:  VoiceElements.Client
Assembly:  VoiceElementsClient (in VoiceElementsClient.dll) Version:
public TerminationCode PlayVap(
	int segment


Type: SystemInt32
The numeric index of the segment you would like to play.

Return Value

Type: TerminationCode
A Termination Code indicating how the play ended. Typically, you will use this to determine what to do next.
How to Specify the Vap File

To specify the VAP File from which you wish to play, use the Vap File Property of the Voice Resource.

Documentation In Development

We are constantly adding features and new capabilities to The Voice Elements Platform. Therefore, our documentation of individual methods, properties and other elements is constantly being developed and improved. If you would like to know more about this element, please help us perfect our documentation and help you develop your application by doing one or more of the following:

Thank you for your continued support of Voice Elements.

See Also