SYSearchCustomDataResult Class Reference

Base class for SYSearchResultTypeCustomData. Returned from SYSearchCustomDataSource. More...

#import <SYSearchResult.h>

Inheritance diagram for SYSearchCustomDataResult:
Collaboration diagram for SYSearchCustomDataResult:

Instance Methods

(instancetype) - initWithSdkResult:subType:payload: [implementation]
 
- Instance Methods inherited from SYSearchGeocodingResult
(instancetype) - initWithSdkResult: [implementation]
 

Properties

SYSearchCustomDataResultType subType
 
NSObject * payload
 
- Properties inherited from SYSearchGeocodingResult
SYGeoCoordinatelocation
 location of the result More...
 
SYGeoBoundingBoxboundary
 bounding box for sometypes of results like Country etc. More...
 
- Properties inherited from SYSearchResult
SYSearchResultType type
 Object type of the result. Check the all available SYSearchResultType for more info. More...
 
SYDistance distance
 Distance from requested search location in meters. More...
 
SYSearchResultLabeltitle
 Text with highlights. More...
 
NSString * subtitle
 Additional text description. More...
 
NSArray< NSString * > * mismatchedWords
 All strings from search query which were not matched in the result. More...
 

Additional Inherited Members

- Class Methods inherited from SYSearchResult
(SYSearchResultType) + sdkSearchResultTypeToSYSearchResultType: [implementation]
 

Detailed Description

Base class for SYSearchResultTypeCustomData. Returned from SYSearchCustomDataSource.

Method Documentation

◆ initWithSdkResult:subType:payload:()

- (instancetype) initWithSdkResult: (const sysearch_result_t)  result
subType: (SYSearchCustomDataResultType)  subType
payload: (NSObject *)  payload 
implementation

Property Documentation

◆ payload

- (NSObject*) payload
readwritenonatomicstrong

◆ subType

- (SYSearchCustomDataResultType) subType
readnonatomicassign

The documentation for this class was generated from the following file: