Stay organized with collections
Save and categorize content based on your preferences.
SessionId.Companion
object SessionId.Companion
Summary
Public functions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# SessionId.Companion\n===================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/com/google/ambient/crossdevice/sessions/SessionId.Companion \"View this page in Java\")\n\n\n```\nobject SessionId.Companion\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public functions ||\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `@`[DoNotInline](/reference/kotlin/androidx/annotation/DoNotInline)` `[SessionId](/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionId)`?` | [getSessionIdFromIntent](/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionId.Companion#getSessionIdFromIntent(android.content.Intent))`(intent: `[Intent](/reference/kotlin/android/content/Intent)`)` |\n\nPublic functions\n----------------\n\n### getSessionIdFromIntent\n\n```\n@DoNotInline\nfun getSessionIdFromIntent(intent: Intent): SessionId?\n```"]]