GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeSearchHandleType - Android

BlazeSearchHandleType is a sealed interface that determines how the SDK handles a search button click from a player. It is returned from onSearchButtonClicked in BlazePlayerSourceDelegate.

ValueDescriptionAssociated values
BySDKThe SDK handles the search flow, presenting the search screen configured with the given searchScreenParams.val searchScreenParams: BlazeSearchScreenParams
ByAppThe client handles the search action itself; the SDK performs no action.X

BySDK

The SDK opens the search screen with the supplied BlazeSearchScreenParams.

data class BySDK(val searchScreenParams: BlazeSearchScreenParams) : BlazeSearchHandleType

ByApp

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

data object ByApp : BlazeSearchHandleType

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.
data class BlazeSearchScreenParams(
    val suggestionsDataSource: BlazeDataSourceType
)

Did this page help you?