File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
src/main/java/com/example/xr/scenecore Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,6 @@ dependencies {
41
41
implementation(" com.google.ar:impress:0.0.3" )
42
42
43
43
implementation(libs.androidx.activity.ktx)
44
- implementation(libs.guava)
45
- implementation(libs.kotlinx.coroutines.guava)
46
44
47
45
implementation(libs.androidx.media3.exoplayer)
48
46
Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ import androidx.xr.scenecore.ExrImage
22
22
import androidx.xr.scenecore.GltfModel
23
23
import androidx.xr.scenecore.SpatialEnvironment
24
24
import androidx.xr.scenecore.scene
25
- import kotlinx.coroutines.guava.await
26
25
import java.nio.file.Paths
27
26
28
27
private class Environments (val session : Session ) {
@@ -34,7 +33,7 @@ private class Environments(val session: Session) {
34
33
35
34
suspend fun loadEnvironmentSkybox () {
36
35
// [START androidxr_scenecore_environment_loadEnvironmentSkybox]
37
- val lightingForSkybox = ExrImage .createFromZipAsync (session, Paths .get(" BlueSkyboxLighting.zip" )).await( )
36
+ val lightingForSkybox = ExrImage .createFromZip (session, Paths .get(" BlueSkyboxLighting.zip" ))
38
37
// [END androidxr_scenecore_environment_loadEnvironmentSkybox]
39
38
}
40
39
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import androidx.xr.scenecore.GltfModel
25
25
import androidx.xr.scenecore.GltfModelEntity
26
26
import androidx.xr.scenecore.SpatialCapabilities
27
27
import androidx.xr.scenecore.scene
28
- import kotlinx.coroutines.guava.await
29
28
import java.nio.file.Paths
30
29
31
30
private suspend fun loadGltfFile (session : Session ) {
You can’t perform that action at this time.
0 commit comments