HCLSearchConfigure

Declaration

Swift

 

 

public struct HCLSearchConfigure

 

Overview

Represents the configuration of the first/Home search screen that gets displayed to user, providing an enum of search cases to configure screen and method to initialize the screen.

Method

init

Initialize search screens with the SDK.

Declaration

Swift

 

 

public init(entry: SearchEntry? = nil,

                       speciality: String? = nil,

                       country: String? = nil)

 

Parameters

entry

Represents the first/Home search screen that gets displayed to user.

speciality

Specifies the "SP" code so HCP specialities are used to do the quick search action.

country

Specifies the name of a country to narrow down search results.

Availability

HealthCare Locator 1.0 and higher

Enum

Type

Description

searchEntry

Represents search cases displayed on the first screen. Cases/values are:

nearMe  (quick access to the search result screen)

home  (default home search screen)