index.md 1.25 KB
Newer Older
1
2
3
4
[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [Session](../index.md) / [Source](./index.md)

# Source

MickeyMoz's avatar
MickeyMoz committed
5
`enum class Source` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/Session.kt#L125)
6
7
8
9
10
11
12
13

Represents the origin of a session to describe how and why it was created.

### Enum Values

| Name | Summary |
|---|---|
| [ACTION_SEND](-a-c-t-i-o-n_-s-e-n-d.md) | Created to handle an ACTION_SEND (share) intent |
MickeyMoz's avatar
MickeyMoz committed
14
| [ACTION_SEARCH](-a-c-t-i-o-n_-s-e-a-r-c-h.md) | Created to handle an ACTION_SEARCH and ACTION_WEB_SEARCH intent |
15
16
17
18
19
20
21
22
| [ACTION_VIEW](-a-c-t-i-o-n_-v-i-e-w.md) | Created to handle an ACTION_VIEW intent |
| [CUSTOM_TAB](-c-u-s-t-o-m_-t-a-b.md) | Created to handle a CustomTabs intent |
| [HOME_SCREEN](-h-o-m-e_-s-c-r-e-e-n.md) | User interacted with the home screen |
| [MENU](-m-e-n-u.md) | User interacted with a menu |
| [NEW_TAB](-n-e-w_-t-a-b.md) | User opened a new tab |
| [NONE](-n-o-n-e.md) | Default value and for testing purposes |
| [TEXT_SELECTION](-t-e-x-t_-s-e-l-e-c-t-i-o-n.md) | Default value and for testing purposes |
| [USER_ENTERED](-u-s-e-r_-e-n-t-e-r-e-d.md) | User entered a URL or search term |