Location:
caldataexchange.h
Link against: calinterimapi.lib
class CCalDataExchange : public CBase;
This class provides functionality for importing and exporting vCal entries.
CBase
- Base class for all classes to be instantiated on the heap
CCalDataExchange
- This class provides functionality for importing and exporting vCal entries
Defined in CCalDataExchange
:
ExportAsyncL()
, ExportL()
, ImportAsyncL()
, ImportL()
, ImportL()
, ImportL()
, NewL()
, ~CCalDataExchange()
Inherited from CBase
:
Delete()
,
Extension_()
,
operator new()
Capability: | Illegal |
static IMPORT_C CCalDataExchange *NewL(CCalSession &aSession);
Allocates and constructs a CCalDataExchange object.
|
|
Capability: | WriteUserData |
IMPORT_C void ImportL(TUid aDataFormat, RReadStream &aReadStream, RPointerArray< CCalEntry > &aCalEntryArray);
Imports data of aDataFormat type and returns an array of CCalEntries corresponding to this data
Currently only VCal 1.0 (with extensions) is supported. The vCalendar is read from the read stream specified and its entities are converted into CCalEntries and passed back in the array parameter aCalEntryArray.
|
Capability: | WriteUserData |
IMPORT_C void ImportL(TUid aDataFormat, RReadStream &aReadStream, RPointerArray< CCalEntry > &aCalEntryArray, TInt aFlags);
Imports data of aDataFormat type and returns an array of CCalEntries corresponding to this data
Currently only VCal 1.0 (with extensions) is supported. The vCalendar is read from the read stream specified and its entities are converted into CCalEntries and passed back in the array parameter aCalEntryArray.
|
Capability: | ReadUserData |
IMPORT_C void ExportL(TUid aDataFormat, RWriteStream &aWriteStream, RPointerArray< CCalEntry > &aCalEntryArray);
Exports data of aDataFormat type from an array of CCalEntries corresponding to this data
Currently only VCal 1.0 (with extensions) is supported. The entry is exported either as a vTodo (if it is a to-do), or as a vEvent. The exported property values are converted from Unicode into the character set indicated by the last parameter (UTF-8 by default).
|
Capability: | WriteUserData |
IMPORT_C void ImportL(TUid aDataFormat, RReadStream &aReadStream, RPointerArray< CCalEntry > &aCalEntryArray, TInt aFlags,
TInt aNumEntries);
Imports data of aDataFormat type and returns an array of a selected number of CCalEntries corresponding to this data.
Currently only VCal 1.0 (with extensions) is supported. The vCalendar is read from the read stream specified and its entities are converted into CCalEntries and passed back in the array parameter aCalEntryArray.
|
Capability: | WriteUserData |
IMPORT_C void ImportAsyncL(TUid aDataFormat, RReadStream &aReadStream, RPointerArray< CCalEntry > &aCalEntryArray, MCalDataExchangeCallBack
&aObserver, TInt aFlags);
Asynchronously imports data of aDataFormat type and returns an array of CCalEntries corresponding to this data
Currently only VCal 1.0 (with extensions) is supported. The vCalendar is read from the read stream specified and its entities are converted into CCalEntries and passed back in the array parameter aCalEntryArray.
|
Capability: | ReadUserData |
IMPORT_C void ExportAsyncL(TUid aDataFormat, RWriteStream &aWriteStream, RPointerArray< CCalEntry > &aCalEntryArray, MCalDataExchangeCallBack
&aObserver);
Asynchronously exports data of aDataFormat type from an array of CCalEntries corresponding to this data
Currently only VCal 1.0 (with extensions) is supported. The entry is exported either as a vTodo (if it is a to-do), or as a vEvent. The exported property values are converted from Unicode into the character set indicated by the last parameter (UTF-8 by default).
|