Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: SyncMLClientDM.h
Link against: smlclient.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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:
CreateL(), OpenL(), OpenL(), RSyncMLDevManProfile()

Inherited from RSubSessionBase:
CloseSubSession(), CreateAutoCloseSubSession(), CreateSubSession(), Send(), SendReceive(), Session(), SubSessionHandle()

Inherited from RSyncMLProfileBase:
Close(), CreatorId(), DeleteAllowed(), DeleteConnectionL(), DisplayName(), Identifier(), IsReadOnly(), ListConnectionsL(), Password(), ProtocolVersionL(), SanUserInteraction(), ServerId(), ServerPassword(), SetCreatorId(), SetDisplayNameL(), SetPasswordL(), SetProtocolVersionL(), SetSanUserInteraction(), SetServerIdL(), SetServerPasswordL(), SetUserNameL(), Type(), UpdateL(), UserName()


Construction and destruction


RSyncMLDevManProfile()

IMPORT_C RSyncMLDevManProfile();

Description

Default constructor.

[Top]


Member functions


OpenL()

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()

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()

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.