Impact Acquire SDK Java
TCallbackType Class Reference

Defines the type of callback to register. More...

Static Public Attributes

static final int ctOnChanged = acquireJNI.ctOnChanged_get()
 Execute callback whenever this component has been modified.
 
static final int ctOnReadData = acquireJNI.ctOnReadData_get()
 Executed when a property's value is read.
 
static final int ctOnRefreshCache = acquireJNI.ctOnRefreshCache_get()
 Executed when a component is accessed (read or write) and some of the internal data needs to be refreshed from an external source.
 
static final int ctOnWriteData = acquireJNI.ctOnWriteData_get()
 Executed when a property's value is written.
 

Detailed Description

Defines the type of callback to register.

Member Data Documentation

◆ ctOnChanged

final int ctOnChanged = acquireJNI.ctOnChanged_get()
static

Execute callback whenever this component has been modified.

◆ ctOnReadData

final int ctOnReadData = acquireJNI.ctOnReadData_get()
static

Executed when a property's value is read.

The callback is executed before the value is returned to the user.

This allows i.e. a driver to determine the value for this property only if the user is interested in its data.

◆ ctOnRefreshCache

final int ctOnRefreshCache = acquireJNI.ctOnRefreshCache_get()
static

Executed when a component is accessed (read or write) and some of the internal data needs to be refreshed from an external source.

The callback is executed before the component data is accessed. This allows i.e. a driver to update the data before.

◆ ctOnWriteData

final int ctOnWriteData = acquireJNI.ctOnWriteData_get()
static

Executed when a property's value is written.

The callback is executed before the value is actually assigned.

This allows i.e. a driver to validate if this is a valid value for the property.