Interface

SpaceRequestResult

Represents the expected result of a space request.

Source set: Android
public sealed interface SpaceRequestResult

Represents the expected result of a space request.

Members

Success

Source set: Android
public object Success : SpaceRequestResult

The application successfully transitioned to the requested space.

Unsupported

Source set: Android
public object Unsupported : SpaceRequestResult

The device or environment does not support XR space transitions.

Error

Source set: Android
public class Error(public val cause: Throwable) : SpaceRequestResult

The space transition failed due to a system error or exception.

Parameters

cause the underlying exception or cause of the error

Functions

equals

Source set: Android
override fun equals(other: Any?): Boolean

hashCode

Source set: Android
override fun hashCode(): Int

toString

Source set: Android
override fun toString(): String
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: