net.rim.device.api.io.transport
Interface CoverageStatusListener


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.

See Also:
TransportInfo.addListener(CoverageStatusListener coverageListener), TransportInfo.removeListener(CoverageStatusListener coverageListener)
Since:
BlackBerry API 6.0.0

Method Summary
 void coverageStatusChanged(int[] transportsInCoverage)
          This method will be called when transport coverage changes.
 



Method Detail

coverageStatusChanged

void coverageStatusChanged(int[] transportsInCoverage)
This method will be called when transport coverage changes.

Parameters:
transportsInCoverage - an array of transportTypes representing the transport types with adequate coverage.
Since:
BlackBerry API 6.0.0





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