#include <Tuner.h>
Link against:
tuner.lib
This item is not part of the S60 5th Edition SDK
Class CMMTunerScannerUtility
class CMMTunerScannerUtility : public CBase;
Description
This class augments CMMTunerUtility
to provide station scanning functionality, whereby the frequency spectrum is searched, pausing for a specified amount of
time when a station is found.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CMMTunerScannerUtility
- This class augments CMMTunerUtility to provide station scanning functionality, w...
Members
Defined in CMMTunerScannerUtility
:
Inherited from CBase
:
Construction and destruction
NewL(CMMTunerUtility &,MMMTunerObserver &)
Interface status: |
deprecated |
Use CMMTunerUtility::GetTunerScannerUtility() instead |
IMPORT_C static CMMTunerScannerUtility* NewL(CMMTunerUtility &aTuner, MMMTunerObserver &aObserver);
Description
Factory function to create a new CMMTunerScannerUtility.
Parameters
Return value
Leave codes
KErrNoMemory |
Out of memory.
|
|
~CMMTunerScannerUtility()
IMPORT_C virtual ~CMMTunerScannerUtility();
Description
Destrucutor
StationScan(TFrequency,CMMTunerUtility::TTunerBand,CMMTunerUtility::TSearchDirection,TTimeIntervalMicroSeconds32,TBool)
IMPORT_C void StationScan(TFrequency aStartFrequency, CMMTunerUtility::TTunerBand aBand, CMMTunerUtility::TSearchDirection
aSearchDirection, TTimeIntervalMicroSeconds32 aPauseDuration, TBool aCircularScan=ETrue);
Description
Continuously scan for a radio station, pausing for the time specified before continuing on to the next station. Call StopScan
to select the currently tuned station. The search is limited to the specified band.
Parameters
StationScan(TChannel,CMMTunerUtility::TTunerBand,CMMTunerUtility::TSearchDirection,TTimeIntervalMicroSeconds32,TBool)
IMPORT_C void StationScan(TChannel aStartChannel, CMMTunerUtility::TTunerBand aBand, CMMTunerUtility::TSearchDirection aSearchDirection,
TTimeIntervalMicroSeconds32 aPauseDuration, TBool aCircularScan=ETrue);
Description
Continuously scan for a radio station, pausing for the time specified before continuing on to the next station. Call StopScan
to select the currently tuned station.
Parameters
IMPORT_C TBool StopScan();
Description
Stop scanning and use the currently tuned station
Return value
TBool
|
ETrue if a station is tuned, EFalse otherwise
|
|