QSimEnvelope Class Reference
|
Constant | Value | Description |
---|---|---|
QSimEnvelope::NoEvent | -1 | No event type defined. |
QSimEnvelope::MTCall | 0 | Mobile-terminated call event. |
QSimEnvelope::CallConnected | 1 | Call connected event. |
QSimEnvelope::CallDisconnected | 2 | Call disconnected event. |
QSimEnvelope::LocationStatus | 3 | Location status event. |
QSimEnvelope::UserActivity | 4 | User activity event. |
QSimEnvelope::IdleScreenAvailable | 5 | Idle screen available event. |
QSimEnvelope::CardReaderStatus | 6 | Additional card reader status event. |
QSimEnvelope::LanguageSelection | 7 | Language selection event. |
QSimEnvelope::BrowserTermination | 8 | Browser termination event. |
QSimEnvelope::DataAvailable | 9 | Channel data available event. |
QSimEnvelope::ChannelStatus | 10 | Channel status event. |
This enum defines the type of QSimEnvelope request to be sent to a SIM.
Constant | Value | Description |
---|---|---|
QSimEnvelope::NoEnvelope | -1 | The envelope type has not yet been set. |
QSimEnvelope::SMSPPDownload | 0xD1 | The envelope is being used for an SMS-PP download. |
QSimEnvelope::CellBroadcastDownload | 0xD2 | The envelope is being used for a cell broadcast download. |
QSimEnvelope::MenuSelection | 0xD3 | The envelope is being used for a SIM toolkit menu selection. |
QSimEnvelope::CallControl | 0xD4 | The envelope is being used for call control. |
QSimEnvelope::MOSMSControl | 0xD5 | The envelope is being used for mobile-originated short message control. |
QSimEnvelope::EventDownload | 0xD6 | The envelope is being used for event download. |
QSimEnvelope::TimerExpiration | 0xD7 | The envelope is being used to report timer expiration. |
Construct a new envelope object with default parameters.
Construct a new envelope object as a copy of value.
Destruct an envelope 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 destination device that will receive the envelope. The default value is QSimCommand::SIM.
Applies to: all commands.
See also setDestinationDevice().
Returns the event type for EventDownload envelopes. The default value is NoEvent.
Applies to: EventDownload
See also setEvent().
Returns the extension data for this envelope. 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 an envelope object corresponding to the data in pdu. The data is decoded as described in 3GPP TS 11.14.
See also toPdu().
Returns the menu item to be selected. The default value is zero.
Applies to: MenuSelection
See also setMenuItem().
Returns true if help has been requested for this menu selection; false if the menu item is being selected normally. The default value is false.
Applies to: MenuSelection
See also setRequestHelp().
Sets the destination device that will receive the envelope to value.
Applies to: all commands.
See also destinationDevice().
Sets the event type for EventDownload envelopes to value.
Applies to: EventDownload
See also event().
Sets the extension data for this envelope 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 menu item to be selected to value.
Applies to: MenuSelection
See also menuItem().
Sets the help request flag to value. If value is true, then help has been requested for this menu selection. If value is false, then the menu item is being selected normally.
Applies to: MenuSelection
See also requestHelp().
Sets the source device that generated the envelope to value.
Applies to: all commands.
See also sourceDevice().
Sets the type of this envelope to value.
See also type().
Returns the source device that generated the envelope. The default value is QSimCommand::ME.
Applies to: all commands.
See also setSourceDevice().
Returns the PDU form of this envelope, encoded as described in 3GPP TS 11.14.
See also fromPdu().
Returns the type of this envelope.
See also setType().
Copy the QSimEnvelope value.
Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. | Qt qtextended4.4 | |
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD. | ||
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP ! |
Copyright © 2000-2012 - www.developpez.com