| ILyncPlatformLibraryInteractionHold Method (String, LyncPlatformLibraryAudioType, String, LyncPlatformLibraryAudioType, Int32, Boolean) |
Puts the existing connected call on-hold and alternates between two media contents for on-hold playback, specifying the media type as
LyncPlatformLibraryAudioType and duration for each content.
To be used when needing to specify content on-hold from more than one source, and both content are of type
LyncPlatformLibraryAudioType for example: music and a fixed prompt.
Namespace: Inkostar.InterfacesAssembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid Hold(
string onHoldContent1,
LyncPlatformLibraryAudioType content1Type,
string onHoldContent2,
LyncPlatformLibraryAudioType content2Type,
int alternateIntervalSeconds,
bool loopPlayback
)
Sub Hold (
onHoldContent1 As String,
content1Type As LyncPlatformLibraryAudioType,
onHoldContent2 As String,
content2Type As LyncPlatformLibraryAudioType,
alternateIntervalSeconds As Integer,
loopPlayback As Boolean
)
void Hold(
String^ onHoldContent1,
LyncPlatformLibraryAudioType content1Type,
String^ onHoldContent2,
LyncPlatformLibraryAudioType content2Type,
int alternateIntervalSeconds,
bool loopPlayback
)
abstract Hold :
onHoldContent1 : string *
content1Type : LyncPlatformLibraryAudioType *
onHoldContent2 : string *
content2Type : LyncPlatformLibraryAudioType *
alternateIntervalSeconds : int *
loopPlayback : bool -> unit
Parameters
- onHoldContent1
- Type: SystemString
The first media file or TTS text to be played.
- content1Type
- Type: Inkostar.EnumsLyncPlatformLibraryAudioType
Specifies the media content type of the first content to be played back, one of LyncPlatformLibraryAudioType enumeration values.
- onHoldContent2
- Type: SystemString
The second media file or TTS text to be played.
- content2Type
- 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.
See Also