code field of WindowLifecycle.Failure when observing a window's lifecycle. Use VwmError.Companion.fromCode to convert a raw integer code into a typed VwmError; unrecognized codes map to VwmError.Unknown.
enum VwmError : Enum<VwmError>
| Member | Description |
|---|---|
NonHostedManager |
A non-hosted volumetric window manager is in use (e.g. a non-spatial device).
|
InvalidParent |
The parent volumetric window is invalid or expired.
|
SurfacePackagePlacementFailure |
Placing the SurfaceControlViewHost failed.
|
ActivityLaunchFailure |
The activity associated with the window failed to launch.
|
WindowPlacementFailure |
Generic volumetric-window placement failure.
|
InvalidParams |
The placement parameters were invalid.
|
PolicyViolation |
Placement was rejected by a system policy — the child-window cap is enforced here.
|
Unknown |
An unrecognized error code from the platform.
|
code
: Int
[Get] |
Signature
val code: Int |
fromCode
(
code
)
|
Resolves a raw platform code into a typed VwmError, or VwmError.Unknown if unrecognized.
Signature
fun fromCode(code: Int): VwmError Parameters code: IntReturns VwmError |