LocationContext.GeographicalRestrictions

class LocationContext.GeographicalRestrictions


生成搜索建议时要应用的地理区域限制。

摘要

公共构造函数

公共构造函数

GeographicalRestrictions

GeographicalRestrictions(circularArea: LocationContext.CircularArea!)

公共函数

setCircularArea

@CanIgnoreReturnValue
fun setCircularArea(circularArea: LocationContext.CircularArea!): LocationContext.GeographicalRestrictions!

设置圆形区域。

参数
circularArea: LocationContext.CircularArea!

圆形区域

返回
LocationContext.GeographicalRestrictions!

地理区域限制。