填空題Observable中文意思就是被觀察者,通過()生成對象。

您可能感興趣的試卷

你可能感興趣的試題

2.單項選擇題百度地圖//聲明LocationClient類實例并配置定位參數(shù)()。

A.LocationClientOptionlocationOption=newLocationClientOptions();MyLocationListenermyLocationListener=newMyLocationListener();
B.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListener();
C.LocationClientOptionlocationOption=newLocationClientOption();MyLocationListenermyLocationListener=newMyLocationListeners();
D.LocationClientOptionlocationOption=newLocationClientOption();MyLocationmyLocationListener=newMyLocationListener();

3.單項選擇題百度地圖//定位服務的客戶端。宿主程序在客戶端聲明此類,并調用,目前只支持在主線程中啟動()。

A.LocationClientlocationClient=newLocationClient(getfragmentContext())
B.LocationClientlocationClient=newLocationClient(getActiviytContext())
C.LocationClientlocationClient=newLocationClient(getContext())
D.LocationClientlocationClient=newLocationClient(getApplicationContext())

4.單項選擇題百度地圖//注冊監(jiān)聽函數(shù)()。

A.locationClient.registerLocationListener(myLocationListener);
B.locationClient.regsterLocationListener(myLocationListener);
C.locationClient.registerLocationListeners(myLocationListener);
D.locationClient.registerListener(myLocationListener);

5.單項選擇題百度地圖//可選,默認高精度,設置定位模式,高精度,低功耗,僅設備()。

A.locationOption.setLocationModes(LocationMode.Hight_Accuracy);
B.locationOption.setLocation(LocationMode.Hight_Accuracy);
C.locationOption.getLocationMode(LocationMode.Hight_Accuracy);
D.locationOption.setLocationMode(LocationMode.Hight_Accuracy);