Stay organized with collections
Save and categorize content based on your preferences.
SessionException.Companion
object SessionException.Companion
Summary
Constants |
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
static final int |
|
Constants
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,["# SessionException.Companion\n==========================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/com/google/ambient/crossdevice/sessions/SessionException.Companion \"View this page in Kotlin\") \\|Java\n\n\n```\nobject SessionException.Companion\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Constants ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `static final int` | [CONNECTION_FAILURE](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#CONNECTION_FAILURE())` = 6` |\n| `static final int` | [HANDLE_INVALIDATED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#HANDLE_INVALIDATED())` = 10` |\n| `static final int` | [INTERNAL_CONNECTION_DISCONNECTED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#INTERNAL_CONNECTION_DISCONNECTED())` = 5` |\n| `static final int` | [INTERNAL_ERROR](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#INTERNAL_ERROR())` = 1` |\n| `static final int` | [INVALID_PARTICIPANT](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#INVALID_PARTICIPANT())` = 4` |\n| `static final int` | [INVALID_SESSION_ID](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#INVALID_SESSION_ID())` = 2` |\n| `static final int` | [INVALID_START_COMPONENT_REQUEST](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#INVALID_START_COMPONENT_REQUEST())` = 11` |\n| `static final int` | [NO_DEVICES_SELECTED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#NO_DEVICES_SELECTED())` = 9` |\n| `static final int` | [OPERATION_NOT_ALLOWED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#OPERATION_NOT_ALLOWED())` = 3` |\n| `static final int` | [SESSIONS_NOT_INITIALIZED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#SESSIONS_NOT_INITIALIZED())` = 12` |\n| `static final int` | [SESSION_ACTION_CANCELLED](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#SESSION_ACTION_CANCELLED())` = 8` |\n| `static final int` | [UNEXPECTED_STATE](/reference/com/google/ambient/crossdevice/sessions/SessionException.Companion#UNEXPECTED_STATE())` = 7` |\n\nConstants\n---------\n\n### CONNECTION_FAILURE\n\n```\npublic static final int CONNECTION_FAILURE = 6\n``` \n\n### HANDLE_INVALIDATED\n\n```\npublic static final int HANDLE_INVALIDATED = 10\n``` \n\n### INTERNAL_CONNECTION_DISCONNECTED\n\n```\npublic static final int INTERNAL_CONNECTION_DISCONNECTED = 5\n``` \n\n### INTERNAL_ERROR\n\n```\npublic static final int INTERNAL_ERROR = 1\n``` \n\n### INVALID_PARTICIPANT\n\n```\npublic static final int INVALID_PARTICIPANT = 4\n``` \n\n### INVALID_SESSION_ID\n\n```\npublic static final int INVALID_SESSION_ID = 2\n``` \n\n### INVALID_START_COMPONENT_REQUEST\n\n```\npublic static final int INVALID_START_COMPONENT_REQUEST = 11\n``` \n\n### NO_DEVICES_SELECTED\n\n```\npublic static final int NO_DEVICES_SELECTED = 9\n``` \n\n### OPERATION_NOT_ALLOWED\n\n```\npublic static final int OPERATION_NOT_ALLOWED = 3\n``` \n\n### SESSIONS_NOT_INITIALIZED\n\n```\npublic static final int SESSIONS_NOT_INITIALIZED = 12\n``` \n\n### SESSION_ACTION_CANCELLED\n\n```\npublic static final int SESSION_ACTION_CANCELLED = 8\n``` \n\n### UNEXPECTED_STATE\n\n```\npublic static final int UNEXPECTED_STATE = 7\n```"]]