Home > Language Reference > Classes > Sms

Validity Property

Validity period of a SMS.

Syntax

Public Property Get Validity() As Long
Public Property Let Validity(ByVal
lValidity As Long)

ParameterDescription
lValidityNew validity period, expressed in minutes.

Remarks

The Validity property defines the time the outgoing message is going to be stored at the Short Message Service Center. If the message could not be delivered after this period expires, the message is lost.

The lValidity parameter specifies the new validity period, expressed in minutes. It can lie from 1 minute to 63 weeks. Note the value is not stored as is but converted into a specific time scale whose granularity varies from a minute to a week, depending on the value; therefore the obtained period may not be exactly the one specified.

The default validity period is 7 days. This property is meaningless if the SMS object was received through the PhoneEvent event. To learn how to send a SMS, refer to the SendSMS method.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A