SMSProviderSpecificData object  SocketBarcodeScanner object

Chapter 2: System Object Properties, Events, and Functions

SMSSession object

The SMSSession object provides the interface for a PocketBuilder application and the SMS messaging system on a Pocket PC or SmartPhone device. It opens and closes an SMS message session and has functions that let you send and get the status of an SMS message. It also provides access to the SMSAddress, SMSMessage, and SMSProtocol objects.

Properties

SMSSession property

Datatype

Description

ClassDefinition

PowerObject

An object of type PowerObject containing information about the class definition of the object or control.

Events

SMSSession event

Occurs

Constructor

When the object is created

Destructor

When the object is destroyed

Functions

SMSSession function

Datatype returned

Description

Close

Integer

Closes the SMS session.

GetMessageStatus

Integer

Checks the status of an SMS message sent during the current session.

Open

Integer

Opens the SMS session for send access. Read access will be supported in a future release.

Send

Integer

Sends an SMS message.





Copyright © 2004. Sybase Inc. All rights reserved. SocketBarcodeScanner object

View this book as PDF