Last date modified: 2025-Apr-29
Interface: SampleStateNotificationApi
SampleStateNotificationApi.SampleStateNotificationApi
Description
Contains APIs to listen for changes to the sample state of the current list
Properties
Properties
onSampleStateChange
- onSampleStateChange: (
artifactTypeID:number,sampleStateHandlerFunction:SampleStateChangeFunction) =>void
Type declaration
- (
artifactTypeID,sampleStateHandlerFunction):void
Parameters
| Name | Type | Description |
|---|---|---|
artifactTypeID
|
number
|
Artifact Type ID of the SampleState |
sampleStateHandlerFunction
|
SampleStateChangeFunction
|
Callback to be triggered on SampleState change |
Returns
void
Description
Allows the developer to register a callback to be triggered when the SampleState changes