MSIPProfileRegistryObserver Class Reference

class MSIPProfileRegistryObserver

The observer class for monitoring SIP profiles. Class must be implemented by the user in order to observe changes in the SIP profiles.

Member Functions Documentation

ProfileRegistryErrorOccurred(TUint32, TInt)

voidProfileRegistryErrorOccurred(TUint32aProfileId,
TIntaError
)[pure virtual]

An asynchronous error has occurred related to SIP profile Event is send to those observers, who have the corresponding profile instantiated.

Parameters

TUint32 aProfileIdthe id of failed profile
TInt aErroran occurred error

ProfileRegistryEventOccurred(TUint32, TEvent)

voidProfileRegistryEventOccurred(TUint32aProfileId,
TEventaEvent
)[pure virtual]

An event related to SIP Profile has accorred

Parameters

TUint32 aProfileIda profile Id
TEvent aEventan occurred event

Member Enumerations Documentation

Enum TEvent

Profile Registry events

Enumerators

EProfileCreated = 0

Signals the creation of a SIP profile, indicating that a new profile is added into permanent store. This event is sent to all observers.

EProfileUpdated

Signals the updating of a SIP profile, indicating that the data of an existing profile is updated into permanent store. This event is sent to those observers who have the corresponding profile instantiated. Newly updated values of the profile are available for clients after they receive this signal.If profile was registered while updated, reregistration of the profile may occur. Updated values of the profile are uploaded into network when SIP registration process is completed.It is possible (but not recommended) that profile is updated even when it is being enabled by the client. If client receives this event for enabled profile, client should react as if error was occurred in the exception that profile is disabled or deleted first.

EProfileRegistered

Signals the changing of the registration status of a SIP profile to registered. This event is sent to those observers who have the corresponding profile instantiated.

EProfileDeregistered

Signals the changing of the registration status of a SIP profile to deregistered. This event is sent to those observers who have the corresponding profile instantiated.

EProfileDestroyed

Signals the destruction of a SIP profile, indicating that the profile has been removed from the permanent store and cannot be used anymore.This event is sent to those observers who have the corresponding profile instantiated.

EProfileForciblyDisabled

Signals the force disabling of a SIP profile, indicating that all the users attached to the profile are detached. This event is sent to all the observers but ForceDisable API can be invoked only by application with Network Control capability.