| LyncPlatformLibraryAudioCallPlay Method (String, LyncPlatformLibraryAudioType, String, LyncPlatformLibraryAudioType, Int32, Boolean) |
Alternates the playback between two media contents, specifying the media type as
LyncPlatformLibraryAudioType and duration for each content.
To be used when needing to play an audio from more than one source, and both content are of type
LyncPlatformLibraryAudioType for example: music and a fixed prompt.
Namespace: Inkostar.ClassesAssembly: LyncPlatformLibrary (in LyncPlatformLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void Play(
string audioContent1,
LyncPlatformLibraryAudioType audioContent1Type,
string audioContent2,
LyncPlatformLibraryAudioType audioContent2Type,
int alternateIntervalSeconds,
bool loopPlayback
)
Public Sub Play (
audioContent1 As String,
audioContent1Type As LyncPlatformLibraryAudioType,
audioContent2 As String,
audioContent2Type As LyncPlatformLibraryAudioType,
alternateIntervalSeconds As Integer,
loopPlayback As Boolean
)
public:
virtual void Play(
String^ audioContent1,
LyncPlatformLibraryAudioType audioContent1Type,
String^ audioContent2,
LyncPlatformLibraryAudioType audioContent2Type,
int alternateIntervalSeconds,
bool loopPlayback
) sealed
abstract Play :
audioContent1 : string *
audioContent1Type : LyncPlatformLibraryAudioType *
audioContent2 : string *
audioContent2Type : LyncPlatformLibraryAudioType *
alternateIntervalSeconds : int *
loopPlayback : bool -> unit
override Play :
audioContent1 : string *
audioContent1Type : LyncPlatformLibraryAudioType *
audioContent2 : string *
audioContent2Type : LyncPlatformLibraryAudioType *
alternateIntervalSeconds : int *
loopPlayback : bool -> unit 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.
- audioContent2
- Type: SystemString
The second media file or TTS text 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, String, LyncPlatformLibraryAudioType, Int32, Boolean)
See Also