Home > Language Reference > Classes > Telephony
Forwarding Property
Call forwarding settings.
Syntax
Public Property Get Forwarding(ByVal eCondition As HbPhoneForward) As String
Public Property Let Forwarding(ByVal eCondition As HbPhoneForward, ByRef sPhoneNumber As String)
| Parameter | Description |
| eCondition | Condition. |
| sPhoneNumber | Phone number. |
Remarks
The Forwarding property specifies the call forwarding settings. The phone must be attached to the network before you can call this property, otherwise a runtime error occurs.
The eCondition parameter indicates the condition for which to retrieve or set the forwarding option. It can take one of the following values:
| Constant | Value | Description |
| hbForwardUnconditional | &H0000 | Forward all incoming calls. |
| hbForwardOnBusy | &H0001 | Forward on busy. |
| hbForwardOnNoReply | &H0002 | Forward on no reply. |
| hbForwardOnNotReachable | &H0003 | Forward if service is unavailable. |
The sPhoneNumber parameter defines the number to which forward the incoming call. Pass an empty string to disable forwarding.
System requirements
| System | Minimal version | Remarks |
| Palm OS | Palm OS 5.0 | Only available on smart phone devices. |