ThbTapiPhone.Privileges
Unit: hbTapi
 

This property is used to control the privilege the ThbTapiPhone component wants to have to the phone device. The sub-properties may be modified prior to setting the ThbTapiPhone.Active property to True. A phone device can be opened using either owner privilege or monitor privilege. An application that opens the phone with owner privilege can control the phone's lamps, display, ringer, and hookswitch or hookswitches. An application that opens the phone device with monitor privilege is notified only about events that occur at the phone, such as hookswitch changes or button presses.

Ownership of a phone device is exclusive. In other words, only one application can have a phone device opened with owner privilege at a time. The phone device can, however, be opened multiple times with monitor privilege.

ThbTapiPhonePrivileges has the sub-properties: Owner and Monitor.

Availability

Design-Time: Read, Write / Run-Time: Read, Write

Declaration

property Privileges: ThbTapiPhonePrivileges;

See Also

ThbTapiPhone.Active


Owner

Type: Boolean

Availability

Design-Time: Read, Write / Run-Time: Read, Write

The application wants to have owner privilege to the phone device. These privilege allow the application to control the phone's lamps, display, ringer, and hookswitch or hookswitches.

Monitor

Type: Boolean

Availability

Design-Time: Read, Write / Run-Time: Read, Write

The application wants to have monitor privileges to the phone device. An application that opens the phone device with monitor privilege is notified only about events that occur at the phone, such as hookswitch changes or button presses.