Call a number.
| C# | Visual Basic | Visual C++ |
IPhoneCall CreateCallObject( IPhoneLine iline, string dial, IPhoneCallListener listener )
Function CreateCallObject ( _ iline As IPhoneLine, _ dial As String, _ listener As IPhoneCallListener _ ) As IPhoneCall
IPhoneCall^ CreateCallObject( IPhoneLine^ iline, String^ dial, IPhoneCallListener^ listener )
- iline (IPhoneLine)
- The relative phone line object to the created phone call object.
- dial (String)
- The phone number to dial.
- listener (IPhoneCallListener)
- Attach a PhoneCallListener.
The created phone call.
It creates an IPhoneCall object to the phone line that is specified by the first parameter.
The call can be started by calling the Start() method. In this case the call state
will be first Created then Ringing.
If you specify the listener parameter, it is automaically attached to the created IPhoneCall object.