LiGScanner

object LiGScanner : EngineResultsListener

LiGScanner is the main class of the LiG Scanner SDK. You can use this class to initialize the scanner SDK and start scanning.

Properties

Link copied to clipboard

Access token if authentication succeeded.

Link copied to clipboard

Whether the scanner SDK is initialized.

Link copied to clipboard

Called when LigTags are found. Caller will pass a list of LigTags for you to check.

Link copied to clipboard

On status reported. Check SdkException.StatusCode for more information.

Link copied to clipboard

Whether the scanner is started and running.

Link copied to clipboard
const val VERSION: String

Functions

Link copied to clipboard

Releaser the scanner SDK.

Link copied to clipboard
fun enableQ3(isQuest3: Boolean)

Enable or disable Q3 mode. Q3 mode should be enabled when the device is in Quest 3 headset.

Link copied to clipboard

Get device id

Link copied to clipboard
fun initialize(context: Context, productKey: String)

Initialize SDK.

Link copied to clipboard
fun start()

Start searching for LigTag device. Set onLightIDsFound before start is called.

Link copied to clipboard
fun stop()

Stop searching for LigTag device.