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.
| Value | Description | Associated values |
|---|---|---|
| BySDK | The SDK handles the search flow, presenting the search screen configured with the given searchScreenParams. | val searchScreenParams: BlazeSearchScreenParams |
| ByApp | The 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) : BlazeSearchHandleTypeByApp
The SDK takes no action; the client handles search on its own.
data object ByApp : BlazeSearchHandleTypeBlazeSearchScreenParams
Parameters for configuring and launching the Blaze search screen.
| Property | Type | Description |
|---|---|---|
| suggestionsDataSource | BlazeDataSourceType | The data source used to populate the suggestions grid displayed when the search field is empty. |
data class BlazeSearchScreenParams(
val suggestionsDataSource: BlazeDataSourceType
)Updated 11 days ago
Did this page help you?
