LocationContext.GeographicalRestrictions

class LocationContext.GeographicalRestrictions


產生搜尋建議時要套用的地理位置限制。

摘要

公用建構函式

公用建構函式

GeographicalRestrictions

GeographicalRestrictions(circularArea: LocationContext.CircularArea!)

公開函式

setCircularArea

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

設定圓形區域。

參數
circularArea: LocationContext.CircularArea!

循環區域

傳回
LocationContext.GeographicalRestrictions!

地理區域限制