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 void SubscribeReserveInfoL ( MReserveObserver &, TInt , CCameraStatusWatch *&)

Member Functions Documentation

SubscribeReserveInfoL(MReserveObserver &, TInt, CCameraStatusWatch *&)

IMPORT_C void SubscribeReserveInfoL ( MReserveObserver & aReserveObserver,
TInt aCameraIndex,
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 & aReserveObserver Reference to an observer
TInt aCameraIndex The index of the camera for which the subscription is to be done.
CCameraStatusWatch *& aCameraStatusWatch Reference to the CCameraStatusWatch*. Client is supposed to delete the CCameraStatusWatch object once it does not wish to further continue with the subscription.