| ILyncPlatformLibraryInteractionPlay Method (RetrieveCustomPrompt, LyncPlatformLibraryAudioType, Boolean) |
Plays a media content whose source is generated dynamically from a custom function, specifying the client delegate where the media content will be generated and the
LyncPlatformLibraryAudioType content type.
To be used when the content to be played changes and can be dynamically generated, for example: current expected waiting time.
Namespace: Inkostar.InterfacesAssembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid Play(
RetrieveCustomPrompt customPromptDelegate,
LyncPlatformLibraryAudioType audioContentType,
bool loopPlayback
)
Sub Play (
customPromptDelegate As RetrieveCustomPrompt,
audioContentType As LyncPlatformLibraryAudioType,
loopPlayback As Boolean
)
void Play(
RetrieveCustomPrompt^ customPromptDelegate,
LyncPlatformLibraryAudioType audioContentType,
bool loopPlayback
)
abstract Play :
customPromptDelegate : RetrieveCustomPrompt *
audioContentType : LyncPlatformLibraryAudioType *
loopPlayback : bool -> unit
Parameters
- customPromptDelegate
- Type: Inkostar.DelegatesRetrieveCustomPrompt
The delegate to the client function which will generate the content to be played.
- audioContentType
- Type: Inkostar.EnumsLyncPlatformLibraryAudioType
Specifies the media content type of the second content to be played back, one of LyncPlatformLibraryAudioType enumeration values.
- loopPlayback
- Type: SystemBoolean
Set to True to specify that the content playback will be repeated when reaching the end, otherwise set to False.
See Also