TopCandidate

@JsonClass(generateAdapter = true)
data class TopCandidate(val placeId: String, val semanticType: String, val probability: Double, val placeLocation: PlaceLocation)

Represents a top candidate with place ID, semantic type, probability, and place location.

Example JSON:

{
"placeId": "ChIJd8BlQ2BZwokRAFUEcm_qrcA",
"semanticType": "INFERRED_WORK",
"probability": 0.95,
"placeLocation": {
"latLng": "40.712776°, -74.005974°"
}
}

Constructors

Link copied to clipboard
constructor(placeId: String, semanticType: String, probability: Double, placeLocation: PlaceLocation)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard