TReservedInfo Class Reference

class TReservedInfo

Client uses it to asynchronously receive the reserve status of a camera index through MReserveObserver

Public Member Functions
IMPORT_C voidSubscribeReserveInfoL(MReserveObserver &, TInt, CCameraStatusWatch *&)

Member Functions Documentation

SubscribeReserveInfoL(MReserveObserver &, TInt, CCameraStatusWatch *&)

IMPORT_C voidSubscribeReserveInfoL(MReserveObserver &aReserveObserver,
TIntaCameraIndex,
CCameraStatusWatch *&aCameraStatusWatch
)[static]

Client uses it to subscribe for the reserve notification of particular camera. The notifications are send to the client through MReserveObserver callbacks. Should the client not wish to continue with the subscription, it is supposed to delete the CCameraStatusWatch class pointer passed to it.

leave
May leave with any error code.

Parameters

MReserveObserver & aReserveObserverReference to an observer
TInt aCameraIndexThe index of the camera for which the subscription is to be done.
CCameraStatusWatch *& aCameraStatusWatchReference to the CCameraStatusWatch*. Client is supposed to delete the CCameraStatusWatch object once it does not wish to further continue with the subscription.