FeedbackResultIDFactory

public enum FeedbackResultIDFactory

Factory for creating different kinds of instances of FeedbackResultID.

  • 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.

    Return Value

    An instance of FeedbackResultID.

  • 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.

    Return Value

    An instance of FeedbackResultID.