FeedbackResultIDFactory
public enum FeedbackResultIDFactory
Factory for creating different kinds of instances of FeedbackResultID
.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Factory method for creating an application specific instance of
FeedbackResultID
. Additional search results can be injected to the list of search results shown to the user by the application or the API user to enhance the result list with application specific entries.Declaration
Swift
public static func createApplicationSpecificFeedbackResultID(id: String) -> FeedbackResultID
Parameters
id
The identifier for the application specific search result.
-
Factory method for creating a search service specific instance of
FeedbackResultID
.Declaration
Swift
public static func createFeedbackResultID(searchResultID: SearchResultID) -> FeedbackResultID
Parameters
searchResultID
The ID of search result.