@@ -1869,6 +1869,7 @@ object Radar {
1869
1869
* @param[chains] An array of chain slugs to filter. See [](https://radar.com/documentation/places/chains)
1870
1870
* @param[categories] An array of categories to filter. See [](https://radar.com/documentation/places/categories)
1871
1871
* @param[groups] An array of groups to filter. See [](https://radar.com/documentation/places/groups)
1872
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
1872
1873
* @param[limit] The max number of places to return. A number between 1 and 100.
1873
1874
* @param[callback] A callback.
1874
1875
*/
@@ -1878,10 +1879,11 @@ object Radar {
1878
1879
chains : Array <String >? ,
1879
1880
categories : Array <String >? ,
1880
1881
groups : Array <String >? ,
1882
+ countryCodes : Array <String >? ,
1881
1883
limit : Int? ,
1882
1884
callback : RadarSearchPlacesCallback
1883
1885
) {
1884
- searchPlaces(radius, chains, null , categories, groups, limit, callback)
1886
+ searchPlaces(radius, chains, null , categories, groups, countryCodes, limit, callback)
1885
1887
}
1886
1888
1887
1889
/* *
@@ -1895,6 +1897,7 @@ object Radar {
1895
1897
* @param[chainMetadata] A map of metadata keys and values. Values can be strings, numerics, or booleans.
1896
1898
* @param[categories] An array of categories to filter. See [](https://radar.io/documentation/places/categories)
1897
1899
* @param[groups] An array of groups to filter. See [](https://radar.io/documentation/places/groups)
1900
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
1898
1901
* @param[limit] The max number of places to return. A number between 1 and 100.
1899
1902
* @param[callback] A callback.
1900
1903
*/
@@ -1905,6 +1908,7 @@ object Radar {
1905
1908
chainMetadata : Map <String , String >? ,
1906
1909
categories : Array <String >? ,
1907
1910
groups : Array <String >? ,
1911
+ countryCodes : Array <String >? ,
1908
1912
limit : Int? ,
1909
1913
callback : RadarSearchPlacesCallback
1910
1914
) {
@@ -1925,7 +1929,7 @@ object Radar {
1925
1929
return
1926
1930
}
1927
1931
1928
- apiClient.searchPlaces(location, radius, chains, chainMetadata, categories, groups, limit, object : RadarApiClient .RadarSearchPlacesApiCallback {
1932
+ apiClient.searchPlaces(location, radius, chains, chainMetadata, categories, groups, countryCodes, limit, object : RadarApiClient .RadarSearchPlacesApiCallback {
1929
1933
override fun onComplete (status : RadarStatus , res : JSONObject ? , places : Array <RadarPlace >? ) {
1930
1934
handler.post {
1931
1935
callback.onComplete(status, location, places)
@@ -1945,6 +1949,7 @@ object Radar {
1945
1949
* @param[chains] An array of chain slugs to filter. See [](https://radar.com/documentation/places/chains)
1946
1950
* @param[categories] An array of categories to filter. See [](https://radar.com/documentation/places/categories)
1947
1951
* @param[groups] An array of groups to filter. See [](https://radar.com/documentation/places/groups)
1952
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
1948
1953
* @param[limit] The max number of places to return. A number between 1 and 100.
1949
1954
* @param[block] A block callback.
1950
1955
*/
@@ -1953,10 +1958,11 @@ object Radar {
1953
1958
chains : Array <String >? ,
1954
1959
categories : Array <String >? ,
1955
1960
groups : Array <String >? ,
1961
+ countryCodes : Array <String >? ,
1956
1962
limit : Int? ,
1957
1963
block : (status: RadarStatus , location: Location ? , places: Array <RadarPlace >? ) -> Unit
1958
1964
) {
1959
- searchPlaces(radius, chains, null , categories, groups, limit, block)
1965
+ searchPlaces(radius, chains, null , categories, groups, countryCodes, limit, block)
1960
1966
}
1961
1967
1962
1968
/* *
@@ -1970,6 +1976,7 @@ object Radar {
1970
1976
* @param[chainMetadata] A map of metadata keys and values. Values can be strings, numerics, or booleans.
1971
1977
* @param[categories] An array of categories to filter. See [](https://radar.io/documentation/places/categories)
1972
1978
* @param[groups] An array of groups to filter. See [](https://radar.io/documentation/places/groups)
1979
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
1973
1980
* @param[limit] The max number of places to return. A number between 1 and 100.
1974
1981
* @param[block] A block callback.
1975
1982
*/
@@ -1979,6 +1986,7 @@ object Radar {
1979
1986
chainMetadata : Map <String , String >? ,
1980
1987
categories : Array <String >? ,
1981
1988
groups : Array <String >? ,
1989
+ countryCodes : Array <String >? ,
1982
1990
limit : Int? ,
1983
1991
block : (status: RadarStatus , location: Location ? , places: Array <RadarPlace >? ) -> Unit
1984
1992
) {
@@ -1988,6 +1996,7 @@ object Radar {
1988
1996
chainMetadata,
1989
1997
categories,
1990
1998
groups,
1999
+ countryCodes,
1991
2000
limit,
1992
2001
object : RadarSearchPlacesCallback {
1993
2002
override fun onComplete (status : RadarStatus , location : Location ? , places : Array <RadarPlace >? ) {
@@ -2007,6 +2016,7 @@ object Radar {
2007
2016
* @param[chains] An array of chain slugs to filter. See [](https://radar.com/documentation/places/chains)
2008
2017
* @param[categories] An array of categories to filter. See [](https://radar.com/documentation/places/categories)
2009
2018
* @param[groups] An array of groups to filter. See [](https://radar.com/documentation/places/groups)
2019
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
2010
2020
* @param[limit] The max number of places to return. A number between 1 and 100.
2011
2021
* @param[callback] A callback.
2012
2022
*/
@@ -2017,10 +2027,11 @@ object Radar {
2017
2027
chains : Array <String >? ,
2018
2028
categories : Array <String >? ,
2019
2029
groups : Array <String >? ,
2030
+ countryCodes : Array <String >? ,
2020
2031
limit : Int? ,
2021
2032
callback : RadarSearchPlacesCallback
2022
2033
) {
2023
- searchPlaces(near, radius, chains, null , categories, groups, limit, callback)
2034
+ searchPlaces(near, radius, chains, null , categories, groups, countryCodes, limit, callback)
2024
2035
}
2025
2036
2026
2037
/* *
@@ -2035,6 +2046,7 @@ object Radar {
2035
2046
* @param[chainMetadata] A map of metadata keys and values. Values can be strings, numerics, or booleans.
2036
2047
* @param[categories] An array of categories to filter. See [](https://radar.io/documentation/places/categories)
2037
2048
* @param[groups] An array of groups to filter. See [](https://radar.io/documentation/places/groups)
2049
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
2038
2050
* @param[limit] The max number of places to return. A number between 1 and 100.
2039
2051
* @param[callback] A callback.
2040
2052
*/
@@ -2046,6 +2058,7 @@ object Radar {
2046
2058
chainMetadata : Map <String , String >? ,
2047
2059
categories : Array <String >? ,
2048
2060
groups : Array <String >? ,
2061
+ countryCodes : Array <String >? ,
2049
2062
limit : Int? ,
2050
2063
callback : RadarSearchPlacesCallback
2051
2064
) {
@@ -2056,7 +2069,7 @@ object Radar {
2056
2069
}
2057
2070
this .logger.i(" searchPlaces()" , RadarLogType .SDK_CALL )
2058
2071
2059
- apiClient.searchPlaces(near, radius, chains, chainMetadata, categories, groups, limit, object : RadarApiClient .RadarSearchPlacesApiCallback {
2072
+ apiClient.searchPlaces(near, radius, chains, chainMetadata, categories, groups, countryCodes, limit, object : RadarApiClient .RadarSearchPlacesApiCallback {
2060
2073
override fun onComplete (status : RadarStatus , res : JSONObject ? , places : Array <RadarPlace >? ) {
2061
2074
handler.post {
2062
2075
callback.onComplete(status, near, places)
@@ -2075,6 +2088,7 @@ object Radar {
2075
2088
* @param[chains] An array of chain slugs to filter. See [](https://radar.com/documentation/places/chains)
2076
2089
* @param[categories] An array of categories to filter. See [](https://radar.com/documentation/places/categories)
2077
2090
* @param[groups] An array of groups to filter. See [](https://radar.com/documentation/places/groups)
2091
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
2078
2092
* @param[limit] The max number of places to return. A number between 1 and 100.
2079
2093
* @param[block] A block callback.
2080
2094
*/
@@ -2084,10 +2098,11 @@ object Radar {
2084
2098
chains : Array <String >? ,
2085
2099
categories : Array <String >? ,
2086
2100
groups : Array <String >? ,
2101
+ countryCodes : Array <String >? ,
2087
2102
limit : Int? ,
2088
2103
block : (status: RadarStatus , location: Location ? , places: Array <RadarPlace >? ) -> Unit
2089
2104
) {
2090
- searchPlaces(near, radius, chains, null , categories, groups, limit, block)
2105
+ searchPlaces(near, radius, chains, null , categories, groups, countryCodes, limit, block)
2091
2106
}
2092
2107
2093
2108
/* *
@@ -2102,6 +2117,7 @@ object Radar {
2102
2117
* @param[chainMetadata] A map of metadata keys and values. Values can be strings, numerics, or booleans.
2103
2118
* @param[categories] An array of categories to filter. See [](https://radar.io/documentation/places/categories)
2104
2119
* @param[groups] An array of groups to filter. See [](https://radar.io/documentation/places/groups)
2120
+ * @param[countryCodes] An array of country codes to filter. See [](https://radar.com/documentation/regions/countries)
2105
2121
* @param[limit] The max number of places to return. A number between 1 and 100.
2106
2122
* @param[block] A block callback.
2107
2123
*/
@@ -2112,6 +2128,7 @@ object Radar {
2112
2128
chainMetadata : Map <String , String >? ,
2113
2129
categories : Array <String >? ,
2114
2130
groups : Array <String >? ,
2131
+ countryCodes : Array <String >? ,
2115
2132
limit : Int? ,
2116
2133
block : (status: RadarStatus , location: Location ? , places: Array <RadarPlace >? ) -> Unit
2117
2134
) {
@@ -2122,6 +2139,7 @@ object Radar {
2122
2139
chainMetadata,
2123
2140
categories,
2124
2141
groups,
2142
+ countryCodes,
2125
2143
limit,
2126
2144
object : RadarSearchPlacesCallback {
2127
2145
override fun onComplete (status : RadarStatus , location : Location ? , places : Array <RadarPlace >? ) {
0 commit comments