File tree Expand file tree Collapse file tree 4 files changed +3
-12
lines changed
xr/src/main/java/com/example/xr/arcore Expand file tree Collapse file tree 4 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -28,9 +28,9 @@ androidx-test-junit = "1.3.0"
2828androidx-window = " 1.5.0"
2929androidx-window-core = " 1.5.0"
3030androidx-window-java = " 1.5.0"
31- androidx-xr-arcore = " 1.0.0-alpha06 "
32- androidx-xr-compose = " 1.0.0-alpha07 "
33- androidx-xr-scenecore = " 1.0.0-alpha07 "
31+ androidx-xr-arcore = " 1.0.0-alpha07 "
32+ androidx-xr-compose = " 1.0.0-alpha08 "
33+ androidx-xr-scenecore = " 1.0.0-alpha08 "
3434androidxHiltNavigationCompose = " 1.3.0"
3535appcompat = " 1.7.1"
3636coil = " 2.7.0"
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import androidx.xr.arcore.AnchorCreateSuccess
2121import androidx.xr.arcore.Trackable
2222import androidx.xr.runtime.Config
2323import androidx.xr.runtime.Session
24- import androidx.xr.runtime.SessionConfigureConfigurationNotSupported
2524import androidx.xr.runtime.SessionConfigureSuccess
2625import androidx.xr.runtime.math.Pose
2726import androidx.xr.scenecore.AnchorEntity
@@ -35,8 +34,6 @@ fun configureAnchoring(session: Session) {
3534 )
3635 when (val result = session.configure(newConfig)) {
3736 is SessionConfigureSuccess -> TODO (/* Success! */ )
38- is SessionConfigureConfigurationNotSupported ->
39- TODO (/* Some combinations of configurations are not valid. Handle this failure case. */ )
4037 else ->
4138 TODO (/* The session could not be configured. See SessionConfigureResult for possible causes. */ )
4239 }
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import androidx.xr.arcore.Hand
2323import androidx.xr.arcore.HandJointType
2424import androidx.xr.runtime.Config
2525import androidx.xr.runtime.Session
26- import androidx.xr.runtime.SessionConfigureConfigurationNotSupported
2726import androidx.xr.runtime.SessionConfigureSuccess
2827import androidx.xr.runtime.math.Pose
2928import androidx.xr.runtime.math.Quaternion
@@ -41,8 +40,6 @@ fun ComponentActivity.configureSession(session: Session) {
4140 )
4241 when (val result = session.configure(newConfig)) {
4342 is SessionConfigureSuccess -> TODO (/* Success! */ )
44- is SessionConfigureConfigurationNotSupported ->
45- TODO (/* Some combinations of configurations are not valid. Handle this failure case. */ )
4643 else ->
4744 TODO (/* The session could not be configured. See SessionConfigureResult for possible causes. */ )
4845 }
Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ package com.example.xr.arcore
1919import androidx.xr.arcore.Plane
2020import androidx.xr.runtime.Config
2121import androidx.xr.runtime.Session
22- import androidx.xr.runtime.SessionConfigureConfigurationNotSupported
2322import androidx.xr.runtime.SessionConfigureSuccess
2423import androidx.xr.runtime.math.Pose
2524import androidx.xr.runtime.math.Ray
@@ -32,8 +31,6 @@ fun configurePlaneTracking(session: Session) {
3231 )
3332 when (val result = session.configure(newConfig)) {
3433 is SessionConfigureSuccess -> TODO (/* Success! */ )
35- is SessionConfigureConfigurationNotSupported ->
36- TODO (/* Some combinations of configurations are not valid. Handle this failure case. */ )
3734 else ->
3835 TODO (/* The session could not be configured. See SessionConfigureResult for possible causes. */ )
3936 }
You can’t perform that action at this time.
0 commit comments