×
Namespaces

Variants
Actions
(Difference between revisions)

Messaging API 文档

From Nokia Developer Wiki
Jump to: navigation, search
flycarl (Talk | contribs)
flycarl (Talk | contribs)
(‘简介')
Line 8: Line 8:
  
  
==''‘简介'''==
+
=='''简介'''==
 
Messaging库提供了一系列API来获取信息数据。提供了查询检索信息,文件夹和账号的接口,也有创建,修改和存储信息的接口。提供了一个统一处理和储存短信(sms),彩信(MMS),邮件(MIME Email,TNEF Email)的接口。能处理 不完整提取的信息。
 
Messaging库提供了一系列API来获取信息数据。提供了查询检索信息,文件夹和账号的接口,也有创建,修改和存储信息的接口。提供了一个统一处理和储存短信(sms),彩信(MMS),邮件(MIME Email,TNEF Email)的接口。能处理 不完整提取的信息。
  
Messaging库提供了接口来发送信息,提取信息包含的数据,合并,回复,转发信息,调用平台
+
Messaging库提供了接口来发送信息,提取信息包含的数据,合并,回复,转发信息,调用本地应用来显示信息。
  
Overview
+
当存储的信息,增加,移除和更新的时候可以获得通知。
  
The messaging library provides a set of APIs for accessing messaging data. Interfaces are provided to retrieve and query messages, folders and accounts, also interfaces to create, modify, and store messages are provided. A unified interface for manipulation and storage of SMS, MMS, MIME Email and TNEF Email messages is provided. Handling of messages that have only been partially retrieved is supported.
+
Messaging库提供了信息数据的统一访问,支持多个应用的并行访问,并不依赖于具体设备上数据的存储方式。
  
An API to access messaging services to send messages and retrieve message data is provided, as well as messaging services to compose, reply to, forward and show messages using a native application.
+
在 Microsoft Windows上,需要安装MAPI头文件,建议通过安装Visual Studio Express来做这件事。
  
Notifications of addition, removal and updating of stored messages can be enabled.
+
在Linux上,需要安装QMF,同时设置两个环境变量,QMF_INCLUDEDIR设为messagingframework/src/libraries/qtopiamail , QMF_LIBDIR设为build/messagingframework/image/lib。
  
The library provides unified access to the messaging data on a device including concurrent access to messaging data by multiple applications, and independence from the mechanism used to store the messaging data on the device.
+
=='''参考文档'''==
 
+
==='''主要的类'''===
On Microsoft Windows, MAPI header files are required to be installed, we recommend installing Visual Studio Express for this purpose.
+
 
+
On Linux QMF is required to be installed and the QMF_INCLUDEDIR and QMF_LIBDIR environment variables set to the messagingframework/src/libraries/qtopiamail and build/messagingframework/image/lib directories respectively.
+
Reference documentation
+
 
Main classes
 
Main classes
  

Revision as of 15:24, 27 December 2010

Contents

Messaging

Qt Messaging API 使我们可以处理信息(短信,彩信,邮件等),搜索信息,排列信息,发送信息,提取信息数据,可以调用平台对应的信息客户端来显示已有的信息,合成新信息,或回复已有信息。


命名空间

QtMobility API 放在 QtMobility 的命名空间. 这是为以后Mobility APIs 集成到 Qt做准备. 参考Quickstart guide中的例子体会这个命名空间如何影响使用QtMobility的开发development.


简介

Messaging库提供了一系列API来获取信息数据。提供了查询检索信息,文件夹和账号的接口,也有创建,修改和存储信息的接口。提供了一个统一处理和储存短信(sms),彩信(MMS),邮件(MIME Email,TNEF Email)的接口。能处理 不完整提取的信息。

Messaging库提供了接口来发送信息,提取信息包含的数据,合并,回复,转发信息,调用本地应用来显示信息。

当存储的信息,增加,移除和更新的时候可以获得通知。

Messaging库提供了信息数据的统一访问,支持多个应用的并行访问,并不依赖于具体设备上数据的存储方式。

在 Microsoft Windows上,需要安装MAPI头文件,建议通过安装Visual Studio Express来做这件事。

在Linux上,需要安装QMF,同时设置两个环境变量,QMF_INCLUDEDIR设为messagingframework/src/libraries/qtopiamail , QMF_LIBDIR设为build/messagingframework/image/lib。

参考文档

主要的类

Main classes

QMessage


Convenient interface for working with messages

QMessageAccount


Represents a messaging account in the messaging store

QMessageAccountFilter


Defines the parameters used for querying a subset of all available accounts from the messaging store

QMessageAccountId


Unique identifier for a QMessageAccount messaging account, within the scope of the messaging store

QMessageAccountSortOrder


Defines the parameters used for sorting a subset of queried accounts from the messaging store

QMessageAddress


Interface for a message address

QMessageContentContainer


Interface for internet media (MIME) and Transport Neutral Encapsulation Format (TNEF) content that is possibly only partially retrieved

QMessageContentContainerId


Unique identifier for QMessageContentContainer internet media (MIME) type entities, within the scope of the containing message

QMessageDataComparator


Contains types used in specifying the comparison of MessageStore objects with user-defined values

QMessageFilter


Defines the parameters used for querying a subset of all available messages from the messaging store

QMessageFolder


Interface for folders containing messages in the messaging store

QMessageFolderFilter


Defines the parameters used for querying a subset of all available folders from the messaging store

QMessageFolderId


Unique identifier for a QMessageFolder message folder, within the scope of the messaging store

QMessageFolderSortOrder


Defines the parameters used for sorting a subset of queried folders from the messaging store

QMessageId


Unique identifier for a QMessage message within the scope of the messaging store

QMessageManager


Represents the main interface for storage and retrieval of messages, folders and accounts in the system message store

QMessageService


The interface for requesting messaging service operations

QMessageSortOrder


Defines the parameters used for sorting a subset of queried messages from the messaging store Composition and Manipulation

251 page views in the last 30 days.
×