Initializes a new instance of the PhoneCallStateWavePlayer class and attaches to a call object.

C# | Visual Basic | Visual C++ |
public PhoneCallStateWavePlayer( ICall call, WaveFormat waveFormat, Dictionary<CallState, string> outgoingCallStateMap, Dictionary<CallState, string> incomingCallStateMap )
Public Sub New ( call As ICall, waveFormat As WaveFormat, outgoingCallStateMap As Dictionary(Of CallState, String), incomingCallStateMap As Dictionary(Of CallState, String) )
public: PhoneCallStateWavePlayer( ICall^ call, WaveFormat^ waveFormat, Dictionary<CallState, String^>^ outgoingCallStateMap, Dictionary<CallState, String^>^ incomingCallStateMap )

- call (ICall)
- The given call object.
- waveFormat (WaveFormat)
- The initial arbitrary media format.
- outgoingCallStateMap (Dictionary<(Of <(<'CallState, String>)>)>)
- Wave file names for states of outgoing call.
- incomingCallStateMap (Dictionary<(Of <(<'CallState, String>)>)>)
- Wave file names for states of incoming call.
Assembly: VoIPSDK (Module: VoIPSDK.dll) Version: 11.2.4.290