# SessionId.Companion

# SessionId.Companion

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/com/google/ambient/crossdevice/sessions/SessionId.Companion "View this page in Java")

<br />

```
object SessionId.Companion
```

<br />

*** ** * ** ***

## Summary

|                                                                                                                                                                                                                                         ### Public functions                                                                                                                                                                                                                                          ||
|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `@`[DoNotInline](https://developer.android.com/reference/kotlin/androidx/annotation/DoNotInline)` `[SessionId](https://developer.android.com/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionId)`?` | [getSessionIdFromIntent](https://developer.android.com/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionId.Companion#getSessionIdFromIntent(android.content.Intent))`(intent: `[Intent](https://developer.android.com/reference/kotlin/android/content/Intent)`)` |

## Public functions

### getSessionIdFromIntent

```
@DoNotInline
fun getSessionIdFromIntent(intent: Intent): SessionId?
```