com.kuka.task
Interface ITaskInstanceStateListener


public interface ITaskInstanceStateListener

State listener interface for ITaskInstance state changes.


Method Summary
 void onStateChanged(ITaskInstance instance, TaskState oldState, TaskState newState)
          This event is called when a ITaskInstance exits one TaskState and enters another.
 

Method Detail

onStateChanged

void onStateChanged(ITaskInstance instance,
                    TaskState oldState,
                    TaskState newState)
This event is called when a ITaskInstance exits one TaskState and enters another.

Parameters:
instance - the task instance that changed state
oldState - the previous state. Might be null.
newState - the new state


Copyright © 2019. All rights reserved.