GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeSearchHandleType - iOS

BlazeSearchHandleType is an enum that determines how the SDK handles a search button tap from a player. It is returned from onSearchClicked in BlazePlayerSourceDelegate.

ValueDescriptionAssociated values
bySDKThe SDK handles the search flow, presenting the search screen configured with the given searchScreenParams.BlazeSearchScreenParams
byAppThe client handles the search action itself; the SDK performs no action.

bySDK

The SDK opens the search screen with the supplied BlazeSearchScreenParams.

case bySDK(BlazeSearchScreenParams)

byApp

The SDK takes no action; the client handles search on its own.

case byApp

BlazeSearchScreenParams

Parameters for configuring and launching the Blaze search screen.

PropertyTypeDescription
suggestionsDataSourceBlazeDataSourceTypeThe data source used to populate the suggestions grid displayed when the search field is empty.
public struct BlazeSearchScreenParams: Equatable {
    public let suggestionsDataSource: BlazeDataSourceType
    public init(suggestionsDataSource: BlazeDataSourceType)
}

Did this page help you?