Ozeki VoIP SDK Class library
AttachListener Method (call, listener)
NamespacesOzeki.VoIPIPhoneCallListenerCombinatorAttachListener(ICall, IPhoneCallListener)
Attaches a PhoneCallListener object to the given call.
Declaration Syntax
C#Visual BasicVisual C++
public static ICall AttachListener(
	this ICall call,
	IPhoneCallListener listener
)
<ExtensionAttribute> _
Public Shared Function AttachListener ( _
	call As ICall, _
	listener As IPhoneCallListener _
) As ICall
[ExtensionAttribute]
public:
static ICall^ AttachListener(
	ICall^ call, 
	IPhoneCallListener^ listener
)
Parameters
call (ICall)
The call to observe.
listener (IPhoneCallListener)
The listener.
Return Value
The call itself.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ICall. When you use instance method syntax to call this method, omit the first parameter.
Remarks
Attaches all listener function to events of IPhoneCall object properly.

Assembly: VoIPSDK (Module: VoIPSDK) Version: 10.0.6.243