NSDK_SearchResult

@interface NSDK_SearchResult : NSObject

Search result for most geocoding APIs (including searchTown:, searchPostcode:, searchStreet:, searchHouseNr:)

  • Returns the name of the item

    Declaration

    Objective-C

    - (NSString *)getName;

    Swift

    func getName() -> String!

    Return Value

    the name of the item

  • Returns the kind of search request.

    Declaration

    Objective-C

    - (NSDK_SearchKind)getKind;

    Swift

    func getKind() -> NSDK_SearchKind

    Return Value

    the kind of search request.

  • Sets the kind of search request

    Declaration

    Objective-C

    - (void)setKind:(NSDK_SearchKind)kind;

    Swift

    func setKind(_ kind: NSDK_SearchKind)

    Parameters

    kind

    the search kind

  • Set the name

    Declaration

    Objective-C

    - (void)setName:(NSString *)name;

    Swift

    func setName(_ name: String!)

    Parameters

    name

    name to be set

  • Returns the numerical country code of the item.

    Declaration

    Objective-C

    - (int)getCC;

    Swift

    func getCC() -> Int32

    Return Value

    the numerical country code .

  • Set the numerical country code

    Declaration

    Objective-C

    - (void)setCC:(int)countryCode;

    Swift

    func setCC(_ countryCode: Int32)

    Parameters

    countryCode

    the new value

  • Returns the category. For towns: [1..6] Lower value means more important For streets: For housenumbers: not used.

    Declaration

    Objective-C

    - (short)getCat;

    Swift

    func getCat() -> Int16

    Return Value

    the category.

  • Set the category of the result

    Declaration

    Objective-C

    - (void)setCat:(short)cat;

    Swift

    func setCat(_ cat: Int16)

    Parameters

    cat

    the new value

  • Returns the type of the result

    Declaration

    Objective-C

    - (short)getType;

    Swift

    func getType() -> Int16

    Return Value

    the type

  • Set the type

    Declaration

    Objective-C

    - (void)setType:(short)type;

    Swift

    func setType(_ type: Int16)

    Parameters

    type

    the new value

  • Position of the search result

    Declaration

    Objective-C

    - (NSDK_Position *)getPosition;

    Swift

    func getPosition() -> NSDK_Position!

    Return Value

    the position of the search result

  • Undocumented

    Declaration

    Objective-C

    - (void) setPosition:(NSDK_Position*) position;

    Swift

    func setPosition(_ position: NSDK_Position!)