toString
Returns the textual representation of the GeoCircle, this is also formatting it in a way that makes it usable in queries, e.g.:
val circle = GeoCircle.create(center = GeoPoint.create(0.0, 0.0), radius = Distance.fromKilometers(10.0))
val results = realm.query<Restaurant>("location GEOWITHIN $circle").find()
Content copied to clipboard