Click or drag to resize
LyncPlatformLibraryAudioCallPlay Method (String, LyncPlatformLibraryAudioType, RetrieveCustomPrompt, LyncPlatformLibraryAudioType, Int32, Boolean)
Alternates playback between two media contents, where the first content is of type LyncPlatformLibraryAudioType and the second content is generated from a client delegate. To be used when needing to play content from more than one source and the second content needs to be dynamically generated, for example: music and current expected waiting time.

Namespace: Inkostar.Classes
Assembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Play(
	string audioContent1,
	LyncPlatformLibraryAudioType audioContent1Type,
	RetrieveCustomPrompt customPromptDelegate,
	LyncPlatformLibraryAudioType audioContent2Type,
	int alternateIntervalSeconds,
	bool loopPlayback
)

Parameters

audioContent1
Type: SystemString
The first media file or TTS text to be played.
audioContent1Type
Type: Inkostar.EnumsLyncPlatformLibraryAudioType
Specifies the media content type of the first content to be played back, one of LyncPlatformLibraryAudioType enumeration values.
customPromptDelegate
Type: Inkostar.DelegatesRetrieveCustomPrompt
The delegate to the client function which will generate the second content to be played.
audioContent2Type
Type: Inkostar.EnumsLyncPlatformLibraryAudioType
Specifies the media content type of the second content to be played back, one of LyncPlatformLibraryAudioType enumeration values.
alternateIntervalSeconds
Type: SystemInt32
The duration in seconds after which each content will alternate.
loopPlayback
Type: SystemBoolean
Set to True to specify that the content playback will be repeated when reaching the end, otherwise set to False.

Implements

ILyncPlatformLibraryInteractionPlay(String, LyncPlatformLibraryAudioType, RetrieveCustomPrompt, LyncPlatformLibraryAudioType, Int32, Boolean)
See Also