目录

CLASS info
public class LocationSettingsRequest implements IMessageEntity
指定位置服务类型,检查位置设置以获取所有位置请求服务的最佳功能。

Field Summary

Return typeMethod nameDescription
Creator<LocationSettingsRequest>CREATORLocationSettingsRequest构建器。

Nested Class Summary

TypeNameDesc
ClassLocationSettingsRequest.Builder用于构建LocationSettingsRequest。

Public Constructor Summary

Constructor name
LocationSettingsRequest(List<LocationRequest> requests, boolean alwaysShow, boolean needBle)
构建一个LocationSettingsRequest实例

Public Constructors

constructor
LocationSettingsRequest(List<LocationRequest> requests, boolean alwaysShow, boolean needBle)
构建一个LocationSettingsRequest实例

Parameters

Parameter nameParameter desc
requests定位请求
alwaysShow调用应用程序是否需要位置才能继续
needBle设置客户端是否要启用BLE扫描