TripKit SDK for Android
Getting Started
Guide
TripKit Map Fragment
Location Search
Trip Results
Service & Stop Detail
Routes for region
Get off alerts
Viewcontroller
SDK Reference
API
Developer
Docs
API
iOS
Android
React
SkedGo
Log in
Sign up
Getting Started
Guide
TripKit Map Fragment
Location Search
Trip Results
Service & Stop Detail
Routes for region
Get off alerts
Viewcontroller
SDK Reference
API
Docs
API
iOS
Android
React
SkedGo
Log in
Sign up
GeocodeUtilities
Functions
/
tripkit
/
TripKitAndroid
/
com.skedgo.geocoding
/
GeocodeUtilities
GeocodeUtilities
\ object
GeocodeUtilities
Functions
Name
Summary
compareInt
fun
compareInt
(x:
Int
, y:
Int
):
Int
isAbbreviationFor
fun
isAbbreviationFor
(abbreviation:
String
, text:
String
):
Boolean
isSuburb
fun
isSuburb
(foursquareResult:
GCFoursquareResultInterface
):
Boolean
rangedScoreForScore
fun
rangedScoreForScore
(score:
Int
, minimum:
Int
, maximum:
Int
):
Int
scoreBasedOnDistanceFromCoordinate
fun
scoreBasedOnDistanceFromCoordinate
(coordinate:
LatLng
, region:
GCBoundingBox
?, regionCenter:
LatLng
, longDistance:
Boolean
):
Int
scoreBasedOnNameMatchBetweenSearchTerm
fun
scoreBasedOnNameMatchBetweenSearchTerm
(searchTerm:
String
, candidate:
String
?):
Int
scoreBetweenSearchTerm
fun
scoreBetweenSearchTerm
(target:
String
, candidate:
String
):
Int
sortByImportance
fun <
T
:
GCResultInterface
>
sortByImportance
(scoreResults:
List
<
MGAResultInterface
<
T
>>):
List
<
MGAResultInterface
<
T
>>
sortByScore
fun <
T
:
GCResultInterface
>
sortByScore
(scoreResults:
List
<
MGAResultInterface
<
T
>>):
List
<
MGAResultInterface
<
T
>>
stringForScoringOfString
fun
stringForScoringOfString
(term:
String
?):
String
esc