JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult


enum JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult


Result values for calls to SpatialEnvironment.setSpatialEnvironmentPreference

Summary

Enum Values

CHANGE_APPLIED

The call to [setSpatialEnvironmentPreference] succeeded and should now be visible.

CHANGE_PENDING

The call to [setSpatialEnvironmentPreference] successfully applied the preference, but it is not immediately visible due to requesting a state change while the activity does not have the [SpatialCapabilities.SPATIAL_CAPABILITY_APP_ENVIRONMENTS] capability to control the app environment state.

Public functions

java-static JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!
valueOf(name: String!)

Returns the enum constant of this type with the specified name.

java-static Array<JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!>!

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

CHANGE_PENDING

val JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult.CHANGE_PENDINGJxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult

The call to [setSpatialEnvironmentPreference] successfully applied the preference, but it is not immediately visible due to requesting a state change while the activity does not have the [SpatialCapabilities.SPATIAL_CAPABILITY_APP_ENVIRONMENTS] capability to control the app environment state. The preference was still set and will be applied when the capability is gained.

Public functions

valueOf

Added in 1.0.0-alpha01
java-static fun valueOf(name: String!): JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

Added in 1.0.0-alpha01
java-static fun values(): Array<JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!>!

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Array<JxrPlatformAdapter.SpatialEnvironment.SetSpatialEnvironmentPreferenceResult!>!

an array containing the constants of this enum type, in the order they're declared