|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CoverageStatusListener
This interface prescribes methods for a class that listens for changes in transport coverage.
You can implement this interface if you want to create a class that is notified about the new coverage when transport coverage changes.
Note that the listener is notified when transport coverage changes.
The TransportInfo.getCoverageStatus()
method enables you to retrieve the transport types with sufficient coverage.
A class that implements this interface should not block and should return as quickly as possible.
TransportInfo.addListener(CoverageStatusListener coverageListener)
,
TransportInfo.removeListener(CoverageStatusListener coverageListener)
Method Summary | ||
---|---|---|
void |
coverageStatusChanged(int[] transportsInCoverage)
This method will be called when transport coverage changes. |
Method Detail |
---|
void coverageStatusChanged(int[] transportsInCoverage)
transportsInCoverage
- an array of transportTypes
representing the transport types with adequate coverage.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal