Skip to content
Select language:English

ARDK 1.5.6

abstract class ARException(message: String, cause: Throwable? = null) : GiPStechException

Base class for all the exceptions thrown by this library.

Inheritors

Constructors

constructor(message: String, cause: Throwable? = null)

Types

class Core(val type: Int, val code: Int, message: String) : ARException

Exception generated from the Core library.

class InvalidState(message: String) : ARException

Exception thrown when an operation is attempted on an CameraSession that is not appropriate for its current state. For example, trying to start a session that has already been started.

Exception thrown when an operation is performed on a marker that is no longer attached to the tracking system or has been explicitly detached.

Exception thrown when an operation requires a specific marker to be visible to the camera, but it is not currently detected in the camera frame. This can happen, for example, when trying to get the pose of a marker that is not in view.

Inherited properties

expect open val cause: Throwable?
expect open val message: String?