MsvUiServiceUtilitiesInternal Class Reference
class MsvUiServiceUtilitiesInternal
|
Static class to help service handling.
Public Member Functions
|
IMPORT_C
TBool
|
CallServiceL
(const
TDesC
&, const
TDesC
&, const
TDesC
&,
CEikonEnv
*)
|
IMPORT_C
TBool
|
CallToSenderQueryL
(const
TDesC
&, const
TDesC
&,
TBool
)
|
IMPORT_C void
|
ChangeMessageStoreToPhoneL
(
CMsvSession
&)
|
IMPORT_C
TBool
|
ComparePhoneNumberL
(const
TDesC
&, const
TDesC
&,
TInt
)
|
IMPORT_C void
|
ConvertUtcToLocalTime
(
TTime
&)
|
IMPORT_C
TMsvId
|
DefaultServiceForMTML
(
CMsvSession
&,
TUid
,
TBool
)
|
IMPORT_C
TBool
|
InternetCallServiceL
(const
TDesC
&, const
TDesC
&, const
TDesC
&,
CEikonEnv
*)
|
IMPORT_C
TBool
|
InternetCallToSenderQueryL
(const
TDesC
&, const
TDesC
&,
TBool
)
|
IMPORT_C
TBool
|
InternetOrVoiceCallServiceL
(const
CMsgVoIPExtension
&, const
TDesC
&, const
TDesC
&, const
TDesC
&,
TBool
,
CEikonEnv
*)
|
IMPORT_C
TBool
|
InternetOrVoiceCallServiceL
(
CEikonEnv
&, const
CMsgVoIPExtension
&, const
TDesC
&, const
TDesC
&,
TMuiuAddressType
, const
TDesC
&,
TMuiuAddressType
,
TBool
)
|
IMPORT_C
TBool
|
IsPhoneOfflineL
()
|
IMPORT_C
TBool
|
MmcDriveInfoL
(
CMsvSession
&)
|
IMPORT_C
TBool
|
OtherEmailMTMExistL
(
CMsvSession
&,
TInt
)
|
IMPORT_C
TMuiuAddressType
|
ResolveAddressTypeL
(const
TDesC
&,
CommonPhoneParser::TPhoneNumberType
)
|
IMPORT_C void
|
SetDefaultServiceForMTML
(
CMsvSession
&,
TUid
,
TMsvId
)
|
Member Functions Documentation
CallServiceL(const TDesC &, const TDesC &, const TDesC &, CEikonEnv *)
When SMS viewer or MMS viewer is open it is possible to call back to sender or phone number which is currently highlighted in message. If user select Send-key then
CAknListQueryDialog
is opened with items "Back to sender" and currently highlighted phone number and with soft keys "Call" and "Cancel". If item "Back to sender" is selected and user select "Call" then function call "CallToSenderQueryL" function with parameters "aSenderNumber" and "aSenderName". If currently highlighted item is selected and user select "Call" then function call "CallToSenderQueryL" function with parameters "aSenderNumber" and KNullDesC. If no phone number is highlighted in message and user select Send-key then function launch the normal call query.
CallToSenderQueryL(const TDesC &, const TDesC &, TBool)
IMPORT_C
TBool
|
CallToSenderQueryL
|
(
|
const
TDesC
&
|
aNumber,
|
|
const
TDesC
&
|
aName,
|
|
TBool
|
aDialWithoutQueries = ETrue
|
|
)
|
[static]
|
Used when asking from user if calling to sender of the message and dial to sender if user select "Yes". Check immediately if phone number is valid. If phone number is not valid then return EFalse and doesn't do nothing.If parameter "aDialWithoutQueries" is true then call immediately to sender of the message and doesn't ask nothing from user before it.
Parameters
const
TDesC
& aNumber
|
|
const
TDesC
& aName
|
|
TBool
aDialWithoutQueries = ETrue
|
|
ChangeMessageStoreToPhoneL(CMsvSession &)
IMPORT_C void
|
ChangeMessageStoreToPhoneL
|
(
|
CMsvSession
&
|
aSession
|
)
|
[static]
|
Sets message store to phone's internal memory. This function is possible to use for example in situation where current drive is memory card and memory card is not in use.
ComparePhoneNumberL(const TDesC &, const TDesC &, TInt)
IMPORT_C
TBool
|
ComparePhoneNumberL
|
(
|
const
TDesC
&
|
aNumber1,
|
|
const
TDesC
&
|
aNumber2,
|
|
TInt
|
aCompareLength = -1
|
|
)
|
[static]
|
Compares two phone numbers.
Parameters
const
TDesC
& aNumber1
|
|
const
TDesC
& aNumber2
|
|
TInt
aCompareLength = -1
|
|
ConvertUtcToLocalTime(TTime &)
IMPORT_C void
|
ConvertUtcToLocalTime
|
(
|
TTime
&
|
aTime
|
)
|
[static]
|
Converts UTC time to local time
Parameters
TTime
& aTime
|
Utc time that is converted to local time on return.
|
DefaultServiceForMTML(CMsvSession &, TUid, TBool)
Returns id of the default service of certain mtm type.
InternetCallServiceL(const TDesC &, const TDesC &, const TDesC &, CEikonEnv *)
When SMS viewer or MMS viewer is open it is possible to call back to sender or phone number which is currently highlighted in message. If user select Send-key then
CAknListQueryDialog
is opened with items "Back to sender" and currently highlighted phone number and with soft keys "Call" and "Cancel". If item "Back to sender" is selected and user select "Call" then function call "CallToSenderQueryL" function with parameters "aSenderNumber" and "aSenderName". If currently highlighted item is selected and user select "Call" then function call "CallToSenderQueryL" function with parameters "aSenderNumber" and KNullDesC. If no phone number is highlighted in message and user select Send-key then function launch the normal call query.
-
Since
-
3.0
InternetCallToSenderQueryL(const TDesC &, const TDesC &, TBool)
IMPORT_C
TBool
|
InternetCallToSenderQueryL
|
(
|
const
TDesC
&
|
aNumber,
|
|
const
TDesC
&
|
aName,
|
|
TBool
|
aDialWithoutQueries = ETrue
|
|
)
|
[static]
|
Used when asking from user if calling to sender of the message and dial to sender if user select "Yes". Assumes allways that Internet call number is valid and ETrue returned. If parameter "aDialWithoutQueries" is true then call immediately to sender of the message and doesn't ask nothing from user before it.
-
Since
-
3.0
Parameters
const
TDesC
& aNumber
|
|
const
TDesC
& aName
|
|
TBool
aDialWithoutQueries = ETrue
|
|
InternetOrVoiceCallServiceL(const CMsgVoIPExtension &, const TDesC &, const TDesC &, const TDesC &, TBool, CEikonEnv *)
InternetOrVoiceCallServiceL(CEikonEnv &, const CMsgVoIPExtension &, const TDesC &, const TDesC &, TMuiuAddressType, const TDesC &, TMuiuAddressType, TBool)
IsPhoneOfflineL()
IMPORT_C
TBool
|
IsPhoneOfflineL
|
(
|
)
|
[static]
|
Checks if phone is in offline mode or not Make sure that offline feature has been checked using feature manager
LaunchDialogL(const TPtr, TInt *)
TInt
|
LaunchDialogL
|
(
|
const
TPtr
|
aGroupedNumberPtr,
|
|
TInt
*
|
aIndex
|
|
)
|
[private, static]
|
Launch
CMuiuListQueryDialog
Parameters
const
TPtr
aGroupedNumberPtr
|
Phone number which is groupped before it goes to dialog
|
TInt
* aIndex
|
tell which item is selected when dialog is closed
|
MmcDriveInfoL(CMsvSession &)
Check if iUnicueID of memory card is same than uniqueid of memory card in message server.
OtherEmailMTMExistL(CMsvSession &, TInt)
ResolveAddressTypeL(const TDesC &, CommonPhoneParser::TPhoneNumberType)
SetDefaultServiceForMTML(CMsvSession &, TUid, TMsvId)
Sets default service for the certain mtm type.
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.