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. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.