![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
MBasicGsmPhoneIndicator |
Mixin: interface for accessing phone indicator information. |
etelbgsm.h
gsmbas.lib
This class defines the protocol for accessing phone indicator information.
protected: MBasicGsmPhoneIndicator()
The default C++ constructor is protected, which prevents objects of this class from being constructed. This class is intended only as an abstract base for other classes.
virtual TInt GetIndicatorCaptureCaps(TIndicatorCapsFlags& aCaps) const=0;
This function allows clients to determine whether a phone has the ability to retrieve indicator status information.
TIndicatorCapsFlags& aCaps |
On return, contains the phones indicator information retrieval capabilities |
TInt |
An error code: see System error codes. |
virtual TInt GetIndicator(const TIndicatorType aIndicator,TUint& aValue) const=0;
This function retrieves the state of an indicator.
const TIndicatorType aIndicator |
The indicator for which the state is required. |
TUint& aValue |
On return, contains the indicator state. |
TInt |
An error code: see System error codes. |
virtual void IndicatorNotification(TRequestStatus& aStatus,TIndicatorInfo& aIndicator)=0;
This function provides notification when an indicator changes state.
TRequestStatus& aStatus |
A variable that indicates the completion status of the request. |
TIndicatorInfo& aIndicator |
On request completion, contains the name of the indicator which has changed state and its current value. |
virtual void IndicatorNotificationCancel() const=0;
This function cancels an outstanding request to notify the client about indicator changes, placed using the NotifyIndicatorChange() function.
Indicates that the status of the phone indicators may be read. |
Battery charge indicator. |
|
Signal strength indicator. |
|
Network service available indicator. |
|
Sounder activity indicator. |
|
Message received indicator. |
|
Call in progress indicator. |
|
Voice activated indicator. |
|
Roaming indicator. |
|
SMS storage full indicator. |
TUint iIndicatorCapture |
A bitmask of TPhoneEquipmentIndicatorCaps constants. |
TIndicatorType iIndicator |
The indicator that has changed. |
TUint iValue |
The new value of the indicator. Note that in the case of binary indicators 0 means off and 1 means on. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |