Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: sipmanagedprofile.h
Link against: sipprofilecli.lib

Class CSIPManagedProfile

class CSIPManagedProfile : public CSIPProfile;

Description

Class contains profile information of particular SIP service provider. Class provides functions for setting and getting profile parameters.

sipprofilecli.lib

Derivation

Members

Defined in CSIPManagedProfile:
CloneL(), SetParameter(), SetParameter(), SetParameter(), SetParameter(), SetParameter(), SetType(), ~CSIPManagedProfile()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CSIPProfile:
GetParameter(), Type()

Inherited from MSIPRegistrationContext:
ContextId(), IsContextActive()


Construction and destruction


~CSIPManagedProfile()

IMPORT_C ~CSIPManagedProfile();

Description

Destructor.

[Top]


Member functions


SetType()

IMPORT_C void SetType(const TSIPProfileTypeInfo &aSIPProfileTypeInfo);

Description

Sets profile type information;

Parameters

const TSIPProfileTypeInfo &aSIPProfileTypeInfo

profile type information


SetParameter()

IMPORT_C TInt SetParameter(TUint32 aParam, const TDesC8 &aVal);

Description

Sets profile parameter

Parameters

TUint32 aParam

a parameter to set; zero-length descriptor resets the value

const TDesC8 &aVal

a value to set

Return value

TInt

KErrNotFound if parameter was not found, KErrNoMemory if out of memory; KErrNone otherwise


SetParameter()

IMPORT_C TInt SetParameter(TUint32 aParam, TUint32 aVal);

Description

Sets profile parameter

Parameters

TUint32 aParam

a parameter to set

TUint32 aVal

a value to set

Return value

TInt

KErrNotFound if parameter was not found, KErrNone otherwise


SetParameter()

IMPORT_C TInt SetParameter(TUint32 aParam, TBool aVal);

Description

Sets profile parameter

Parameters

TUint32 aParam

a parameter to set

TBool aVal

a value to set

Return value

TInt

KErrNotFound if parameter was not found, KErrNone otherwise


SetParameter()

IMPORT_C TInt SetParameter(TUint32 aParam, const MDesC8Array &aVal);

Description

Sets profile parameter

Parameters

TUint32 aParam

a parameter to set

const MDesC8Array &aVal

values to set; an empty array resets the value

Return value

TInt

KErrNotFound if parameter was not found, KErrNoMemory if out of memory KErrNone otherwise


SetParameter()

IMPORT_C TInt SetParameter(TUint32 aServerType, TUint32 aParam, const TDesC8 &aVal);

Description

Sets profile parameter that is defined for a particular SIP server

Parameters

TUint32 aServerType

a SIP server type

TUint32 aParam

a parameter to set

const TDesC8 &aVal

a value to set; zero-length descriptor resets the value

Return value

TInt

KErrNotFound if parameter was not found, KErrNoMemory if out of memory; KErrNone otherwise


CloneL()

IMPORT_C CSIPManagedProfile *CloneL() const;

Description

Creates deep copy of the object

Return value

CSIPManagedProfile *

deep copied instance

Leave codes

KErrNoMemory

if out of memory