connect (method)

Attempts to dial the PhonebookEntry from Phonebook .

Syntax

- (void)connect;
public func connect() throws -> Void

Remarks

This method attempts to dial the PhonebookEntry from Phonebook. If that is empty then the PhoneNumber, CallbackNumber, and Domain (if applicable) are used to connect. The class doesn't return until the operation is completed, but during this time Status events are fired showing the ongoing progress.

Example (Dialing a Phonebook)


NetDialControl.Phonebook = "MyPhonebook"
NetDialControl.Connect()

Example (Direct Dialing a Phone Number)


NetDialControl.PhoneNumber = "MyPhonebook"
NetDialControl.User = "username"
NetDialControl.Password = "mypassword"
NetDialControl.Connect()

NOTE: Direct Dialing is not supported on Pocket PC (Windows CE).

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 iOS Edition - Version 20.0 [Build 8307]