API reference

VrActivityDuplicateException Class

Extends IllegalStateException
Modifiers: final
Thrown when a second Spatial SDK Activity attempts to register in a process that already has a live one. Public so callers (e.g. host apps) can catch by type and gracefully fall back instead of pattern-matching the exception message.
Extends IllegalStateException for backward compatibility with existing callers.

Signature

class VrActivityDuplicateException(message: String) : IllegalStateException

Constructors

VrActivityDuplicateException ( message )
Signature
constructor(message: String)
Parameters
message: String
Returns
VrActivityDuplicateException