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)

ParameterDescription
eConditionCondition.
sPhoneNumberPhone 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:

ConstantValueDescription
hbForwardUnconditional&H0000Forward all incoming calls.
hbForwardOnBusy&H0001Forward on busy.
hbForwardOnNoReply&H0002Forward on no reply.
hbForwardOnNotReachable&H0003Forward 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

SystemMinimal versionRemarks
Palm OSPalm OS 5.0Only available on smart phone devices.