Location:
btsdp.h
Link against: sdpdatabase.lib
RSdpDatabase
Supported from 6.1
Subsession to the SDP through which service record and their attributes can be added, deleted, and updated.
|
Defined in RSdpDatabase
:
Close()
, CreateServiceRecordL()
, DeleteAttributeL()
, DeleteRecordL()
, Open()
, RSdpDatabase()
, UpdateAttributeL()
Inherited from RSubSessionBase
:
CloseSubSession()
,
CreateSubSession()
,
Send()
,
SendReceive()
,
SubSessionHandle()
,
operator=()
TInt Open(RSdp& aSession);
Opens a SDP database subsession.
|
|
void CreateServiceRecordL(const TUUID& aUUID, TSdpServRecordHandle& aHandle);
Creates a new service record, with a single service class, in the SDP database.
|
void CreateServiceRecordL(CSdpAttrValueDES& aUUIDList, TSdpServRecordHandle& aHandle);
Creates a new service record, with multiple service classes, in the SDP database.
|
void DeleteRecordL(TSdpServRecordHandle aHandle);
Deletes a service record.
|
void DeleteAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID);
Delete an attribute from a service record.
|
void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, CSdpAttrValue& aAttrValue);
Updates a service record attribute (value encapsulated in a
CSdpAttrValue
).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, TUint aUintValue);
Updates a service record attribute (integer value).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, const TDesC16& aDesCValue);
Updates a service record attribute (wide descriptor value).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|
void UpdateAttributeL(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, const TDesC8& aDesCValue);
Updates a service record attribute (narrow descriptor value).
If the attribute does not exist, it is created. If it already exists, the current definition is removed and the new value inserted.
No check is made that the attribute value is suitable for the service class to which the record belongs. It is up to the user to ensure that the semantics of the attribute defined by the service class are respected.
|