CCameraStatusWatch Class Reference

#include <ecam.h>

Link against: ecam.lib

class CCameraStatusWatch : public CActive

Inherits from

  • CCameraStatusWatch

    Detailed Description

    An active object class implemented by Symbian and used to subscribe for the updates in the Properties, retrieve the Properties and forward the notification to the client.

    Note:

    Serialized part of the ECam implementation is assumed to define the Properties and publish them whenever there is change in the reserve status.

    Constructor & Destructor Documentation

    ~CCameraStatusWatch ( )

    IMPORT_C~CCameraStatusWatch()

    Destructor. The destructor has to be called by the client when it does not need the desired reserve notifications any more.

    Member Function Documentation

    NewL ( MReserveObserver &, TInt, TInt )

    CCameraStatusWatch *NewL(MReserveObserver &aReserveObserver,
    TIntaCameraIndex,
    TIntaSecureId
    )[static]

    Used to create the CCameraStatusWatch class object. This is needed by the method TReservedInfo::SubscribeReserveInfoL in order to grab the reserve notification from the ECam implementation and hence further forward it to the observer MReserveObserver.

    leave
    May leave with any error code
    ParameterDescription
    aReserveObserverReference to an observer.
    aCameraIndexThe camera index for which the subscription is needed.
    aSecureIdThe secure ID of the process where serialized part of the ECam implementation runs.