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
Description
Allows the developer to register a callback to be triggered when the SampleState changes
Parameters
Name | Type | Description |
---|---|---|
artifactTypeID
|
number
|
Artifact Type ID of the SampleState |
sampleStateHandlerFunction
|
SampleStateChangeFunction
|
Callback to be triggered on SampleState change |
Returns
void