Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SyncMLClientDM.h>
Link against: smlclient.lib
This item is not part of the S60 5th Edition SDK

Class RSyncMLDevManProfile

class RSyncMLDevManProfile : public RSyncMLProfileBase;

Description

Handle to a SyncML Device Management profile.

A profile encapsulates a relationship with a single SyncML remote server.

Derivation

Members

Defined in RSyncMLDevManProfile:

Inherited from RSubSessionBase:

Inherited from RSyncMLProfileBase:


Construction and destruction


RSyncMLDevManProfile()

IMPORT_C RSyncMLDevManProfile();

Description

Default constructor.

[Top]


Member functions


OpenL(RSyncMLSession &,TSmlProfileId)

Capability: ReadDeviceData

IMPORT_C void OpenL(RSyncMLSession &, TSmlProfileId);

Description

Opens a handle to an existing Device Management profile of the specified ID.

Note that Device Management profiles cannot be opened for editing.

Parameters

RSyncMLSession &

An open session with the Sync Agent.

TSmlProfileId

The ID of the profile to open.

Leave codes

System

error codes.

SyncMLError::KErrProfileNotFound

The specified profile ID does not represent a valid profile.


OpenL(RSyncMLSession &,TSmlProfileId,TSmlOpenMode)

Capability: Dependent See enum TSmlOpenMode for required capabilities.

IMPORT_C void OpenL(RSyncMLSession &, TSmlProfileId, TSmlOpenMode);

Description

Opens a handle to an existing Data Management profile of the specified ID.

Parameters

RSyncMLSession &

An open session with the Sync Agent.

TSmlProfileId

The ID of the profile to open.

TSmlOpenMode

The access mode to open the profile in, read-only, or read and write.

Leave codes

System

error codes.

SyncMLError::KErrProfileNotFound

The specified profile ID does not represent a valid profile.


CreateL(RSyncMLSession &)

Capability: WriteDeviceData

IMPORT_C void CreateL(RSyncMLSession &);

Description

Creates a new, blank, profile for Data Management and opens this object as a handle to it.

Parameters

RSyncMLSession &

An open session with the Sync Agent.

Leave codes

System

error codes.