List < HueBridge > function ( ) { Result loc0 = new HttpClient ( ) . get ( "srini_string" ) ; if ( loc0 . getResponseCode ( ) == 200 ) { return new Gson ( ) . fromJson ( loc0 . getBody ( ) , PortalDiscoveryResult . gsonType ) ; } else { throw new IOException ( ) ; } }
search for local bridges using the portal api . see : http://developers.meethue.com/5_portalapi.html concode_field_sep PlaceHolder placeHolder concode_field_sep List<HueBridge> searchUPnP concode_elem_sep void onBridgeDiscovered