Re: ACTION-357: Network Connection API draft

On 6.4.2011, at 18.07, ext Rich Tibbett wrote:

> Minor point: for future-proofing, the NONE constant on the Connection interface could be e.g. 20 rather than 6. That would let us define e.g. CELL_5G in a logical way if and when that came online.

Or perhaps -1 if we're happy making the type attribute of type short instead. This allows testing for existence of any connection (type > -1) and we can have CELL_50G or whatever we may come up with :)

-Anssi

Received on Wednesday, 6 April 2011 15:40:14 UTC