[android-components](../../../index.md) / [mozilla.components.browser.session](../../index.md) / [Session](../index.md) / [Source](./index.md)

# Source

`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#L132)

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 |
| [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 |
| [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 |
| [RESTORED](-r-e-s-t-o-r-e-d.md) | This session was restored |
