TNEntityWordPredictionParams

@objcMembers
open class TNEntityWordPredictionParams : NSObject

Undocumented

  • The anchor location from where suggest results will be based

    Declaration

    Swift

    public var location: TNEntityGeoPoint?
  • The partial word text

    Declaration

    Swift

    public var searchQuery: String
  • Max number of entities that will be returned from request

    Declaration

    Swift

    public var limit: Int
  • Undocumented

    Declaration

    Swift

    public override init()
  • Undocumented

    Declaration

    Swift

    public init(searchQuery: String, location: TNEntityGeoPoint?)
  • Undocumented

    Declaration

    Swift

    public func validate() -> (isValid: Bool, message: String)