index.md 1.55 KB
Newer Older
MickeyMoz's avatar
MickeyMoz committed
1
2
3
4
[android-components](../../../index.md) / [mozilla.components.browser.state.action](../../index.md) / [ContentAction](../index.md) / [AddFindResultAction](./index.md)

# AddFindResultAction

MickeyMoz's avatar
MickeyMoz committed
5
`data class AddFindResultAction : `[`ContentAction`](../index.md) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/state/src/main/java/mozilla/components/browser/state/action/BrowserAction.kt#L251)
MickeyMoz's avatar
MickeyMoz committed
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Adds a [FindResultState](../../../mozilla.components.browser.state.state.content/-find-result-state/index.md) to the [ContentState](../../../mozilla.components.browser.state.state/-content-state/index.md) with the given [sessionId](session-id.md).

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `AddFindResultAction(sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, findResult: `[`FindResultState`](../../../mozilla.components.browser.state.state.content/-find-result-state/index.md)`)`<br>Adds a [FindResultState](../../../mozilla.components.browser.state.state.content/-find-result-state/index.md) to the [ContentState](../../../mozilla.components.browser.state.state/-content-state/index.md) with the given [sessionId](session-id.md). |

### Properties

| Name | Summary |
|---|---|
| [findResult](find-result.md) | `val findResult: `[`FindResultState`](../../../mozilla.components.browser.state.state.content/-find-result-state/index.md) |
| [sessionId](session-id.md) | `val sessionId: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |