SessionPausedException
Stay organized with collections
Save and categorize content based on your preferences.
Thrown if an operation requires ARCore to be running (unchecked).
Inherited Methods
From class
java.lang.Throwable
From class
java.lang.Object
Public Constructors
public
SessionPausedException
()
SessionPausedException
public
SessionPausedException
()
public
SessionPausedException
( String
message)
SessionPausedException
public
SessionPausedException
(
String
message
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eSessionPausedException\u003c/code\u003e is thrown when an ARCore operation is attempted while the session is paused.\u003c/p\u003e\n"],["\u003cp\u003eIt indicates that ARCore needs to be actively running for the operation to succeed.\u003c/p\u003e\n"],["\u003cp\u003eThis exception provides two constructors: one default and another accepting a custom message.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should ensure the ARCore session is running before executing operations that depend on it to avoid this exception.\u003c/p\u003e\n"]]],[],null,["# SessionPausedException\n\n`\npublic class\n`**SessionPausedException**`\n` \nThrown if an operation requires ARCore to be running (unchecked). \n\nPublic Constructors\n-------------------\n\n|-----|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` ` | [SessionPausedException](/ar/reference/java/com/google/ar/core/exceptions/SessionPausedException#SessionPausedException())`()` |\n| ` ` | [SessionPausedException](/ar/reference/java/com/google/ar/core/exceptions/SessionPausedException#SessionPausedException(java.lang.String))`(`[String](https://developer.android.com/reference/java/lang/String)` message)` |\n\nInherited Methods\n-----------------\n\nFrom `class\njava.lang.Throwable` \n\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| ` synchronized final void ` | addSuppressed`(`[Throwable](https://developer.android.com/reference/java/lang/Throwable)` arg0)` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | fillInStackTrace`()` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | getCause`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | getLocalizedMessage`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | getMessage`()` |\n| ` `[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement)` ` | getStackTrace`()` |\n| ` synchronized final `[Throwable[]](https://developer.android.com/reference/java/lang/Throwable)` ` | getSuppressed`()` |\n| ` synchronized `[Throwable](https://developer.android.com/reference/java/lang/Throwable)` ` | initCause`(`[Throwable](https://developer.android.com/reference/java/lang/Throwable)` arg0)` |\n| ` void ` | printStackTrace`()` |\n| ` void ` | printStackTrace`(`[PrintWriter](https://developer.android.com/reference/java/io/PrintWriter)` arg0)` |\n| ` void ` | printStackTrace`(`[PrintStream](https://developer.android.com/reference/java/io/PrintStream)` arg0)` |\n| ` void ` | setStackTrace`(`[StackTraceElement[]](https://developer.android.com/reference/java/lang/StackTraceElement)` arg0)` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n\nFrom `class\njava.lang.Object` \n\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------|\n| ` `[Object](https://developer.android.com/reference/java/lang/Object)` ` | clone`()` |\n| ` boolean ` | equals`(`[Object](https://developer.android.com/reference/java/lang/Object)` arg0)` |\n| ` void ` | finalize`()` |\n| ` final `[Class](https://developer.android.com/reference/java/lang/Class)`\u003c?\u003e ` | getClass`()` |\n| ` int ` | hashCode`()` |\n| ` final void ` | notify`()` |\n| ` final void ` | notifyAll`()` |\n| ` `[String](https://developer.android.com/reference/java/lang/String)` ` | toString`()` |\n| ` final void ` | wait`(long arg0, int arg1)` |\n| ` final void ` | wait`(long arg0)` |\n| ` final void ` | wait`()` |\n\nPublic Constructors\n-------------------\n\n#### public\nSessionPausedException\n()\n\n### SessionPausedException\n\n```java\npublic SessionPausedException()\n``` \n\u003cbr /\u003e\n\n#### public\nSessionPausedException\n([String](https://developer.android.com/reference/java/lang/String) message)\n\n### SessionPausedException\n\n```java\npublic SessionPausedException(\n String message\n)\n``` \n\u003cbr /\u003e\n\n| Details ||\n| Parameters | |-----------|---| | `message` | | |\n|------------|-------------------------------------|"]]