|
||
class RSyncMLDataSyncProfile : public RSyncMLProfileBase;
Handle to a SyncML
Data Synchronisation profile.
A profile encapsulates a relationship with a single SyncML
remote server, and contains a number of 'tasks' and 'connections'.
RSubSessionBase
-
Client-side handle to a sub-session.
RSyncMLProfileBase
- Base class for a handle to a SyncML profile.
RSyncMLDataSyncProfile
- Handle to a SyncML Data Synchronisation profile.
Defined in RSyncMLDataSyncProfile
:
CreateL(RSyncMLSession &)
Creates a new, blank, profile for Data Synchronisation and opens this object as ...DeleteTaskL(TSmlTaskId)
Deletes the task identified by aId from this profile.ListTasksL(RArray< TSmlTaskId > &)const
Gets a list of IDs of tasks defined for this profile.OpenL(RSyncMLSession &,TSmlProfileId,TSmlOpenMode)
Opens a handle to an existing Data Synchronisation profile of the specified ID.RSyncMLDataSyncProfile()
Default constructor.Inherited from RSubSessionBase
:
CloseSubSession(TInt)
Closes the sub-session.CreateAutoCloseSubSession(RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session. The new sub-session takes ...CreateSubSession(const RSessionBase &,TInt)
Creates a new sub-session within an existing session.CreateSubSession(const RSessionBase &,TInt,const TIpcArgs &)
Creates a new sub-session within an existing session.Send(TInt)const
Sends a blind message to the server - no reply is expected.Send(TInt,const TIpcArgs &)const
Sends a blind message to the server - no reply is expected.SendReceive(TInt)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.SendReceive(TInt,const TIpcArgs &)const
Sends a message to the server and waits synchronously for a reply.SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
Sends a message to the server and waits asynchronously for the reply.Session()const
Returns a copy of the session associated with this sub-session.SubSessionHandle()const
Gets the sub-session handle number.Inherited from RSyncMLProfileBase
:
Close()
Closes this handle.CreatorId()const
Gets the ID of the creator of the profile referenced by this handle.DeleteAllowed()const
Tests if the user is allowed to delete the profileDeleteConnectionL(TSmlConnectionId)
Deletes the connection identified by aId from this profile.DisplayName()const
Gets the human-readable display name of the profile referenced by this handle.Identifier()const
Gets the ID of the profile referenced by this handle.IsCancellable()const
Tests if the profile is 'cancellable' or not. Any attempt to cancel a job belong...IsLocked()const
Tests if the profile is 'locked' or can be modified.IsReadOnly()const
Tests if the profile is open for read and write access.IsSilent()const
Tests if the profile is 'silent' or not. Any jobs associated with a 'silent' pro...ListConnectionsL(RArray< TSmlConnectionId > &)const
Gets a list of IDs of connections defined for this profile.Password()const
Gets the password for the account on the remote server.ProtocolVersionL()const
Gets the protocol version used by the remote server.SanUserInteraction()const
Returns status of server alert notification processing for this profile. ServerId()const
Gets the id for the remote server.ServerPassword()const
Gets the password for the remote server.SetCreatorId(TSmlCreatorId)
Sets the client creator ID of the profile referenced by this handle.SetDisplayNameL(const TDesC &)
Sets the human-readable display name of the profile referenced by this handle.SetPasswordL(const TDesC8 &)
Sets the password for the account on the remote server.SetProtocolVersionL(TSmlProtocolVersion)
Set the protocol version of the profileSetSanUserInteraction(TSmlServerAlertedAction)
Sets server alert notification processing action for this profile. SetServerIdL(const TDesC8 &)
Sets the ID for the remote server.SetServerPasswordL(const TDesC8 &)
Sets the password for the remote server.SetSilentL(TBool)
Sets a profile to be 'silent' or not. Any jobs associated with a 'silent' profil...SetUserNameL(const TDesC8 &)
Sets the user name for the account on the remote server.Type()const
Gets the type of the profile referenced by this handle.UpdateL()
Stores any changes made to the profile data, including tasks and connections.UserName()const
Gets the user name for the account on the remote server.Capability: | WriteDeviceData |
IMPORT_C void CreateL(RSyncMLSession &);
Creates a new, blank, profile for Data Synchronisation and opens this object as a handle to it.
The new profile will not be saved until UpdateL is called.
|
|
Capability: | Dependent | See enum TSmlOpenMode for required capabilities. |
IMPORT_C void OpenL(RSyncMLSession &, TSmlProfileId, TSmlOpenMode);
Opens a handle to an existing Data Synchronisation profile of the specified ID.
|
|
IMPORT_C void ListTasksL(RArray< TSmlTaskId > &) const;
The handle is open.
Gets a list of IDs of tasks defined for this profile.
|
|
IMPORT_C void DeleteTaskL(TSmlTaskId);
The handle is open for read and write access.
Deletes the task identified by aId from this profile.
|
|