#include <mw/CSatelliteInfoUI.h>
class CSatelliteInfoUI : public CBase |
Public Member Enumerations | |
---|---|
enum | TSatelliteView { ESatelliteFirmamentView, ESatelliteSignalStrengthView, ESatelliteCompassView } |
Public Member Functions | |
---|---|
virtual | ~CSatelliteInfoUI() |
IMPORT_C TInt | ExecuteLD(const TDesC &) |
IMPORT_C void | HandleForegroundEventL(TBool) |
IMPORT_C CSatelliteInfoUI * | NewL() |
IMPORT_C void | SetLaunchView(TSatelliteView) |
Implements entry point class to Satellite Info UI
Enumeration to specify the default launch view of the dialog.
Display satellite's information dialog.
This library uses the services provided by Location Framework. Once the dialog is launched satellite information is continuously requested via Location Acquisition API. The Location Acquisition API is offered by Location Framework. The user can switch between the two views once the dialog is launched.
Parameter | Description |
---|---|
aNameOfRule | is requestor data for Location FW which will be used for privacy verification in the future. Application name should be used to specify the requestor. The string should not be empty. |
Returns: TInt value of the selected softkey, which is EEikCommandTypeExitOrBack, because it is the only softkey of the dialog.
IMPORT_C void | HandleForegroundEventL | ( | TBool | aForeground | ) |
Dialog switched to foreground or background
Parameter | Description |
---|---|
aForeground | ETrue to switch to the foreground. EFalse to switch to background. |
IMPORT_C void | SetLaunchView | ( | TSatelliteView | aLaunchView | ) |
Used to set the dialog's launch view
This method is used to set the view in which the dialog should be launched. The two available views are signal strength and firmament view. Constants for settings default view specified in enum TSatelliteView. This method should be called before the method ExecuteLD is invoked.
Parameter | Description |
---|---|
aLaunchView | ESatelliteFirmamentView for firmament view and ESatelliteSignalStrengthView for signal strength view. ESatelliteCompassView for compass ciew ESatelliteCompassView Visibility will be variated depending on the product configuration/regional variation. if it is disabled to show compass view then function will ignore the ESatelliteCompassView and show firmament view instead. |