SophiaFramework UNIVERSE 5.3 |
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
SFCError |
GetBytesAvailableForPayload(
SFBSMSMsgSmpConstRef message
, SInt32Ptr bytes
, SInt32Ptr padding
) Checks various ISMSMsg parameters and finds that how many more bytes and bits are available for payload.
|
SFCError |
GetEncodingsAvailableForMOSMS(
UInt32Ptr buffer
, UInt32Ptr size
) Provides the list of encodings supported by the device for mobile originated messages.
|
SFCError |
GetEncodingsAvailableForMOSMS(
SFXBufferPtr buffer
) Provides the list of encodings supported by the device for mobile originated messages.
|
static SFBSMSSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBSMS instance.
|
static SFBSMSSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBSMS instance.
|
SFCError |
ReceiveMsg(
UInt32 messageID
, SFBSMSMsgSmpPtr message
) Receive the message with specified message ID.
|
SFBSMSMsgSmp |
ReceiveMsg(
UInt32 messageID
) Receive the message with specified message ID.
|
Void |
SendMsg(
SFBSMSMsgSmpConstRef message
, SFXCallbackPtr callback
, UInt32Ptr result
) send messages from the handset.
|
SFCError |
SetClientStatus(
AEESMSClientStatus status
, AEESMSType type
) Set the status of main client of SMS according to the message type.
|
SFCError |
QueryInterface(
AEECLSID clsid
, VoidHandle handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFCError |
QueryInterface(
AEECLSID clsid
, SFBBaseSmpPtr handle
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
SFBBaseSmp |
QueryInterface(
AEECLSID clsid
)
(inherits from SFBQuery)
Ask an object for another API contract from the object in question.
|
Void |
Self(
AEECLSID clsidReq
, SFBQuerySmpPtr clone
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
SFBQuerySmp |
Self(
AEECLSID clsidReq
, AEECLSID clsidImp
)
(inherits from SFBQuery)
Helper macro for those implementing an object with a single interface.
|
Protected Functions | |
---|---|
static SFBBaseSmp |
FactoryByCreate(
AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface.
|
static SFBBaseSmp |
FactoryByQuery(
SFBQuerySmpConstRef query
, AEECLSID id
, SFCErrorPtr exception = null
)
(inherits from SFBBase)
Create the instance for the specified ClassID's interface using the SFBQuery instance.
|
[ public ] SFCError GetBytesAvailableForPayload( SFBSMSMsgSmpConstRef message // pointer to the SFBSMSMsg interface SInt32Ptr bytes // placeholder for bytes available for payload SInt32Ptr padding // placeholder for bits padded );
[ public ] SFCError GetEncodingsAvailableForMOSMS( UInt32Ptr buffer // placeholder for available MO SMS encoding options UInt32Ptr size // size of data );
[ public ] SFCError GetEncodingsAvailableForMOSMS( SFXBufferPtr buffer // placeholder for available MO SMS encoding options );
[ public, static ] SFBSMSSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBSMSSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError ReceiveMsg( UInt32 messageID // message ID SFBSMSMsgSmpPtr message // placeholder for ISMSMsg interface pointing to the message );
[ public ] SFBSMSMsgSmp ReceiveMsg( UInt32 messageID // message ID );
[ public ] Void SendMsg( SFBSMSMsgSmpConstRef message // pointer to SFBSMSMsg interface pointing to the message to be sent SFXCallbackPtr callback // pointer to callback to inform the status of the message sent UInt32Ptr result // placeholder for return value );
According to the callback, the result as below will be returned:
[ public ] SFCError SetClientStatus( AEESMSClientStatus status // client status AEESMSType type // message type );
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |