📄 ex_etelmm.h
字号:
EIdServiceActiveDefaultAllowed,
EIdServiceNotProvisioned,
EIdServiceUnknown
};
// for use by client-side API code and TSY only
struct TIdServiceAndLocation
{
TMobilePhoneIdService iService;
TMobileInfoLocation iLocation;
};
IMPORT_C void GetIdentityServiceStatus(TRequestStatus& aReqStatus, TMobilePhoneIdService aService, TMobilePhoneIdServiceStatus& aStatus, TMobileInfoLocation aLocation = EInfoLocationCachePreferred) const;
//
// Mobile Call Barring Functional Unit
//
enum TMobilePhoneCBCondition
{
EBarUnspecified,
EBarAllIncoming,
EBarIncomingRoaming,
EBarAllOutgoing,
EBarOutgoingInternational,
EBarOutgoingInternationalExHC,
EBarAllCases
};
enum TMobilePhoneCBStatus
{
ECallBarringStatusActive,
ECallBarringStatusNotActive,
ECallBarringStatusNotProvisioned,
ECallBarringStatusNotAvailable,
ECallBarringStatusUnknown
};
/**
* \class TMobilePhoneCBInfoEntryV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines information about the call barring service
*
*/
class TMobilePhoneCBInfoEntryV1 : public TMultimodeType
{
public:
void InternalizeL(RReadStream& aStream);
void ExternalizeL(RWriteStream& aStream) const;
public:
IMPORT_C TMobilePhoneCBInfoEntryV1();
public:
TMobilePhoneCBCondition iCondition;
TMobileService iServiceGroup;
TMobilePhoneCBStatus iStatus;
};
class TMobilePhoneCBChangeV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhoneCBChangeV1();
public:
TMobileService iServiceGroup;
TMobilePhoneServiceAction iAction;
TMobilePassword iPassword;
};
IMPORT_C void SetCallBarringStatus(TRequestStatus& aReqStatus, TMobilePhoneCBCondition aCondition, const TMobilePhoneCBChangeV1& aInfo) const;
IMPORT_C void NotifyCallBarringStatusChange(TRequestStatus& aReqStatus, TMobilePhoneCBCondition& aCondition) const;
class TMobilePhonePasswordChangeV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhonePasswordChangeV1();
public:
TMobilePassword iOldPassword;
TMobilePassword iNewPassword;
};
IMPORT_C void SetCallBarringPassword(TRequestStatus& aReqStatus, const TMobilePhonePasswordChangeV1& aPassword) const;
//
// Mobile Call Waiting Functional Unit
//
enum TMobilePhoneCWStatus
{
ECallWaitingStatusActive,
ECallWaitingStatusNotActive,
ECallWaitingStatusNotProvisioned,
ECallWaitingStatusNotAvailable,
ECallWaitingStatusUnknown
};
/**
* \class TMobilePhoneCWInfoEntryV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines information about the call waiting service
*
*/
class TMobilePhoneCWInfoEntryV1 : public TMultimodeType
{
public:
void InternalizeL(RReadStream& aStream);
void ExternalizeL(RWriteStream& aStream) const;
public:
IMPORT_C TMobilePhoneCWInfoEntryV1();
public:
TMobileService iServiceGroup;
TMobilePhoneCWStatus iStatus;
};
typedef TPckg<TMobilePhoneCWInfoEntryV1> TMobilePhoneCWInfoEntryV1Pckg;
IMPORT_C void SetCallWaitingStatus(TRequestStatus& aReqStatus, TMobileService aServiceGroup, TMobilePhoneServiceAction aAction) const;
IMPORT_C void NotifyCallWaitingStatusChange(TRequestStatus& aReqStatus, TDes8& aCWStatus) const;
//
// Mobile Call Completion Unit
//
enum TMobilePhoneCCBSStatus
{
ECcbsActive,
ECcbsNotActive,
ECcbsNotProvisioned,
ECcbsNotAvailable,
ECcbsUnknown
};
/**
* \class TMobilePhoneCCBSEntryV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines information about the call completion (CCBS) service
*
*/
class TMobilePhoneCCBSEntryV1 : public TMultimodeType
{
public:
void InternalizeL(RReadStream& aStream);
void ExternalizeL(RWriteStream& aStream) const;
public:
IMPORT_C TMobilePhoneCCBSEntryV1();
public:
TInt iCcbsIndex;
TMobileService iServiceGroup;
TMobileAddress iDestination;
};
typedef TPckg<TMobilePhoneCCBSEntryV1> TMobilePhoneCCBSEntryV1Pckg;
IMPORT_C void GetCCBSStatus(TRequestStatus& aReqStatus, TMobilePhoneCCBSStatus& aCcbsStatus, TMobileInfoLocation aLocation = EInfoLocationCachePreferred) const;
IMPORT_C void NotifyCCBSStatusChange(TRequestStatus& aReqStatus, TMobilePhoneCCBSStatus& aCcbsStatus) const;
IMPORT_C void DeactivateCCBS(TRequestStatus& aReqStatus, TInt aIndex) const;
IMPORT_C void NotifyCCBSRecall(TRequestStatus& aReqStatus, TDes8& aCCBSEntry) const;
IMPORT_C void AcceptCCBSRecall(TRequestStatus& aReqStatus, TInt aIndex, TName& aCallName) const;
IMPORT_C TInt RefuseCCBSRecall(TInt aIndex) const;
//
// Mobile Alternating Call Function Unit
//
enum TMobilePhoneAlternatingCallCaps
{
KCapsMOVoiceData = 0x00000001,
KCapsMOVoiceThenData = 0x00000002,
KCapsMOVoiceFax = 0x00000004,
KCapsMTVoiceData = 0x00000008,
KCapsMTVoiceThenData = 0x00000010,
KCapsMTVoiceFax = 0x00000020
};
IMPORT_C TInt GetAlternatingCallCaps(TUint32& aCaps) const;
IMPORT_C void NotifyAlternatingCallCapsChange(TRequestStatus& aReqStatus, TUint32& aCaps) const;
enum TMobilePhoneAlternatingCallMode
{
EAlternatingModeUnspecified,
EAlternatingModeSingle,
EAlternatingModeVoiceData,
EAlternatingModeVoiceThenData,
EAlternatingModeVoiceFax
};
IMPORT_C TInt GetAlternatingCallMode(TMobilePhoneAlternatingCallMode& aMode, TMobileService& aFirstService) const;
IMPORT_C void SetAlternatingCallMode(TRequestStatus& aReqStatus, TMobilePhoneAlternatingCallMode aMode, TMobileService aFirstService) const;
IMPORT_C void NotifyAlternatingCallModeChange(TRequestStatus& aReqStatus, TMobilePhoneAlternatingCallMode& aMode,TMobileService& aFirstService) const;
//
// Mobile Alternate Line Service Functional Unit
//
enum TMobilePhoneALSLine
{
EAlternateLinePrimary,
EAlternateLineAuxiliary,
EAlternateLineUnknown,
EAlternateLineNotAvailable
};
typedef TPckg<TMobilePhoneALSLine> TMobilePhoneALSLinePckg;
IMPORT_C TInt GetALSLine(TMobilePhoneALSLine& aALSLine) const;
IMPORT_C void SetALSLine(TRequestStatus& aReqStatus, TMobilePhoneALSLine aALSLine) const;
IMPORT_C void NotifyALSLineChange(TRequestStatus& aReqStatus, TMobilePhoneALSLine& aALSLine) const;
//
// Mobile Cost Functional Unit
//
enum TMobilePhoneCostCaps
{
KCapsCostInformation = 0x00000001,
KCapsCostCharging = 0x00000002,
KCapsClearCost = 0x00000004,
KCapsSetMaxCost = 0x00000008,
KCapsSetPuct = 0x00000010,
KCapsGetCost = 0x00000020,
KCapsNotifyCostChange = 0x00000040
};
IMPORT_C TInt GetCostCaps(TUint32& aCaps) const;
IMPORT_C void NotifyCostCapsChange(TRequestStatus& aReqStatus, TUint32& aCaps) const;
enum TMobilePhoneCostMeters
{
EClearCCM,
EClearACM,
EClearAll
};
IMPORT_C void ClearCostMeter(TRequestStatus& aReqStatus, TMobilePhoneCostMeters aMeter) const;
IMPORT_C void SetMaxCostMeter(TRequestStatus& aReqStatus, TUint aUnits) const;
/**
* \class TMobilePhonePuctV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines the contents of the price/unit & currency table (PUCT) on the SIM
*
*/
class TMobilePhonePuctV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhonePuctV1();
public:
TReal iPricePerUnit;
TBuf<4> iCurrencyName;
};
typedef TPckg<TMobilePhonePuctV1> TMobilePhonePuctV1Pckg;
IMPORT_C void SetPuct(TRequestStatus& aReqStatus, const TDesC8& aPuct) const;
enum TMobilePhoneCostService
{
ECostServiceUnknown,
ECostServiceNotAvailable,
ECostServiceAvailable,
ECostServiceInformation,
ECostServiceCharging
};
/**
* \class TMobilePhoneCostInfoV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines the information related to current billing costs
*
*/
class TMobilePhoneCostInfoV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhoneCostInfoV1();
public:
TMobilePhoneCostService iService;
TUint iCCM;
TUint iACM;
TUint iACMmax;
TMobilePhonePuctV1 iPuct;
};
typedef TPckg<TMobilePhoneCostInfoV1> TMobilePhoneCostInfoV1Pckg;
IMPORT_C void GetCostInfo(TRequestStatus& aReqStatus, TDes8& aCostInfo) const;
IMPORT_C void NotifyCostInfoChange(TRequestStatus& aReqStatus, TDes8& aCostInfo) const;
//
// Mobile Security Functional Unit
//
enum TMobilePhoneSecurityCaps
{
KCapsLockPhone = 0x0000001,
KCapsLockICC = 0x00000002,
KCapsLockPhoneToICC = 0x00000004,
KCapsLockPhoneToFirstICC = 0x00000008,
KCapsLockOTA = 0x00000010,
KCapsAccessPin1 = 0x00000020,
KCapsAccessPin2 = 0x00000040,
KCapsAccessPhonePassword = 0x00000080,
KCapsAccessSPC = 0x00000100
};
IMPORT_C TInt GetSecurityCaps(TUint32& aCaps) const;
IMPORT_C void NotifySecurityCapsChange(TRequestStatus& aReqStatus, TUint32& aCaps) const;
enum TMobilePhoneLock
{
ELockPhoneDevice,
ELockICC,
ELockPhoneToICC,
ELockPhoneToFirstICC,
ELockOTA
};
enum TMobilePhoneLockStatus
{
EStatusLockUnknown,
EStatusLocked,
EStatusUnlocked
};
enum TMobilePhoneLockSetting
{
ELockSetUnknown,
ELockSetEnabled,
ELockSetDisabled
};
/**
* \class TMobilePhoneLockInfoV1 ETELMM.H "INC/ETELMM.H"
* \brief Defines the status of a phone lock
*
*/
class TMobilePhoneLockInfoV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhoneLockInfoV1();
public:
TMobilePhoneLockStatus iStatus;
TMobilePhoneLockSetting iSetting;
};
typedef TPckg<TMobilePhoneLockInfoV1> TMobilePhoneLockInfoV1Pckg;
IMPORT_C void GetLockInfo(TRequestStatus& aReqStatus, TMobilePhoneLock aLock, TDes8& aLockInfo) const;
IMPORT_C void NotifyLockInfoChange(TRequestStatus& aReqStatus, TMobilePhoneLock& aLock, TDes8& aLockInfo) const;
IMPORT_C void SetLockSetting(TRequestStatus& aReqStatus, TMobilePhoneLock aLock, TMobilePhoneLockSetting aSetting) const;
enum TMobilePhoneSecurityCode
{
ESecurityCodePin1,
ESecurityCodePin2,
ESecurityCodePuk1,
ESecurityCodePuk2,
ESecurityCodePhonePassword,
ESecurityCodeSPC
};
IMPORT_C void ChangeSecurityCode(TRequestStatus& aReqStatus, TMobilePhoneSecurityCode aType, const TMobilePhonePasswordChangeV1& aChange) const;
enum TMobilePhoneSecurityEvent
{
ENoICCFound,
EICCTerminated,
EPin1Required,
EPuk1Required,
EPin2Required,
EPuk2Required,
EPhonePasswordRequired,
ESPCRequired,
EPin1Verified,
EPin2Verified,
EPuk1Verified,
EPuk2Verified,
EPhonePasswordVerified,
ESPCVerified
};
IMPORT_C void NotifySecurityEvent(TRequestStatus& aReqStatus, TMobilePhoneSecurityEvent& aEvent) const;
// for use by client-side API code and TSY only
struct TCodeAndUnblockCode
{
TMobilePassword iCode;
TMobilePassword iUnblockCode;
};
IMPORT_C void VerifySecurityCode(TRequestStatus& aReqStatus, TMobilePhoneSecurityCode aType,
const TMobilePassword& aCode, const TMobilePassword& aUnblockCode) const;
IMPORT_C TInt AbortSecurityCode(TMobilePhoneSecurityCode aType) const;
//
// MobileMessageWaiting
//
enum TMobilePhoneIndicatorDisplay
{
KDisplayVoicemailActive = 0x01,
KDisplayFaxActive = 0x02,
KDisplayEmailActive = 0x04,
KDisplayOtherActive = 0x08,
KDisplayAuxVoicemailActive = 0x10,
KDisplayDataActive = 0x20
};
class TMobilePhoneMessageWaitingV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhoneMessageWaitingV1();
public:
TUint8 iDisplayStatus;
TUint8 iVoiceMsgs;
TUint8 iAuxVoiceMsgs;
TUint8 iDataMsgs;
TUint8 iFaxMsgs;
TUint8 iEmailMsgs;
TUint8 iOtherMsgs;
};
typedef TPckg<TMobilePhoneMessageWaitingV1> TMobilePhoneMessageWaitingV1Pckg;
IMPORT_C void GetIccMessageWaitingIndicators(TRequestStatus& aReqStatus, TDes8& aMsgIndicators) const;
IMPORT_C void SetIccMessageWaitingIndicators(TRequestStatus& aReqStatus, const TDesC8& aMsgIndicators) const;
IMPORT_C void NotifyIccMessageWaitingIndicatorsChange(TRequestStatus& aReqStatus, TDes8& aMsgIndicators) const;
IMPORT_C void NotifyMessageWaiting(TRequestStatus& aReqStatus, TInt& aCount) const;
//
// Mobile Fixed Dialling Numbers Functional Unit
//
enum TMobilePhoneFdnStatus
{
EFdnNotActive,
EFdnActive,
EFdnPermanentlyActive,
EFdnNotSupported,
EFdnUnknown
};
IMPORT_C TInt GetFdnStatus(TMobilePhoneFdnStatus& aFdnStatus) const;
IMPORT_C void GetFdnStatus(TRequestStatus& aReqStatus, TMobilePhoneFdnStatus& aFdnStatus) const;
enum TMobilePhoneFdnSetting
{
EFdnSetOn,
EFdnSetOff
};
IMPORT_C void SetFdnSetting(TRequestStatus& aReqStatus, TMobilePhoneFdnSetting aFdnSetting) const;
IMPORT_C void NotifyFdnStatusChange(TRequestStatus& aReqStatus, TMobilePhoneFdnStatus& aFdnStatus) const;
//
// Multicall bearer settings
//
class TMobilePhoneMulticallSettingsV1 : public TMultimodeType
{
public:
IMPORT_C TMobilePhoneMulticallSettingsV1();
public:
TInt iUserMaxBearers;
TInt iServiceProviderMaxBearers;
TInt iNetworkSupportedMaxBearers;
TInt iUESupportedMaxBearers;
};
typedef TPckg<TMobilePhoneMulticallSettingsV1> TMobilePhoneMulticallSettingsV1Pckg;
IMPORT_C void GetMulticallParams(TRequestStatus& aReqStatus, TDes8& aMulticallParams) const;
IMPORT_C void SetMulticallParams(TRequestStatus& aReqStatus, TInt aUserMaxBearers) const;
IMPORT_C void NotifyMulticallParamsChange(TRequestStatus& aReqStatus, TDes8& aMulticallParams) const;
//
// MobileNextIncomingCall Functional Unit
//
enum TMobilePhoneIncomingCallType
{
EIncomingTypeNotSpecified,
EIncomingVoice,
EIncomingFax,
EIncomingData,
EIncomingMultimediaVoiceFallback,
EIncomingMultimediaNoFallback
};
IMPORT_C void GetIncomingCallType(TRequestStatus& aReqStatus, TMobilePhoneIncomingCallType& aCallType, TDes8& aDataParams) const;
IMPORT_C void SetIncomingCallType(TRequestStatus& aReqStatus, TMobilePhoneIncomingCallType aCallType, TDes8& aDataParams) const;
IMPORT_C void NotifyIncomingCallTypeChange(TRequestStatus& aReqStatus, TMobilePhoneIncomingCallType& aCallType, TDes8& aDataParams) const;
//
// User-To-User Signalling Functional Unit
//
enum TMobilePhoneUUSSetting // UUS settings of the phone
{
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -