class MReserveObserver |
Mixin base class for camera clients to handle the notification of Reserve status.
Client must implement MReserveObserver in order to handle the notifications and take appropriate steps accordingly.
By the time client gets unreserved status via callback, the camera may be on its way getting reserved by another client who might be continuously polling for it. So, there is no guarantee that the client will be able to reserve it. But it is guaranteed that the client will receive the notification about change in reserve status.
Public Member Functions | |
---|---|
void | ReserveStatus(TInt, TECamReserveStatus, TInt) |
void | ReserveStatus | ( | TInt | iCameraIndex, |
TECamReserveStatus | aReserveStatus, | |||
TInt | aErrorCode | |||
) | [pure virtual] |
This notification is send to provide the reserve status for the camera.
If error is not KErrNone, then the client is expected to destroy the CCameraStatusWatch retrieved through TReservedInfo::SubscribeReserveInfoL and re-subscribe if desired.
TInt iCameraIndex | |
TECamReserveStatus aReserveStatus | The reserve status for the camera. |
TInt aErrorCode | The error value. |