Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QSimControlEvent class specifies the contents of a CALL CONTROL or MO SHORT MESSAGE CONTROL result event. More...
#include <QSimControlEvent>
The QSimControlEvent class specifies the contents of a CALL CONTROL or MO SHORT MESSAGE CONTROL result event.
When the user initiates phone calls or sends SMS messages on a SIM-equipped mobile phone, the SIM can make modifications to the request before it is sent to the network, or deny the request outright. This process is described in section 9 of 3GPP TS 11.14.
Once the SIM has determined whether it will allow the operation to proceed or not, an event is sent to the modem indicating the result. This event may include a text() string to be displayed to the user.
The particular type of SIM control event is specified by the type() function. Other functions, such as result(), text(), etc, are used to specify type-specific parameters for the event.
Events are delivered to client applications via the QSimToolkit::controlEvent() signal.
See also QSimToolkit::controlEvent().
This enum defines the result of a SIM control event.
Constant | Value | Description |
---|---|---|
QSimControlEvent::Allowed | 0 | The SIM allowed the call setup or SMS message to be processed normally. |
QSimControlEvent::NotAllowed | 1 | This SIM disallowed the call setup or SMS message. |
QSimControlEvent::AllowedWithModifications | 2 | The SIM allowed the call setup or SMS message, but made some modifications to the request. |
This enum defines the type of SIM control event for QSimControlEvent.
Constant | Value | Description |
---|---|---|
QSimControlEvent::Call | 0 | The control event refers to a regular call setup or supplementary service. |
QSimControlEvent::Sms | 1 | The control event refers to a mobile-originated SMS message. |
Construct a new SIM control object with default parameters.
Construct a new SIM control object as a copy of value.
Destruct a SIM control object.
Adds an extension field to the data from extensionData(). The field will have the specified tag and contents given by value.
See also extensionField().
Returns the extension data for this SIM control event. The extension data is appended after all other fields, and consists of zero or more BER tag-length-value field specifications.
See also setExtensionData() and extensionField().
Returns the contents of an extension field. The tag is an 8-bit value, from 3GPP TS 11.14, that specifies the particular field the caller is interested in. The most significant bit of tag is ignored when searching for the field, as it contains the "must comprehend" status from 3GPP TS 11.14, and is not important for locating the desired field.
This is a simpler method than extensionData() for accessing values within the extension data.
See also addExtensionField().
Returns a SIM control event object corresponding to the data in pdu. The type indicates the type of SIM control event that is being decoded from pdu: Call or Sms. The data is decoded as described in 3GPP TS 11.14.
See also toPdu().
Returns the result of this SIM control event.
See also setResult().
Sets the extension data for this SIM control event to value. The extension data is appended after all other fields, and consists of zero or more BER tag-length-value field specifications.
See also extensionData() and addExtensionField().
Sets the result of this SIM control event to value. The default value is Allowed.
See also result().
Sets the text string associated with this SIM control event to value.
See also text().
Sets the type of this SIM control event to value.
See also type().
Returns the text string associated with this SIM control event. If this string is not empty, it should be displayed to the user to inform them of the SIM control operation.
See also setText().
Returns the PDU form of this SIM control event, encoded as described in 3GPP TS 11.14.
See also fromPdu().
Returns the type of SIM control event: Call or Sms. The default value is Call.
See also setType().
Copy the QSimControlEvent value.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |