set_timeout


Description:

public void set_timeout (int timeout)

Tells the feedback server to end feedback after timeout seconds.

The value -1 indicates to not set a timeout and let feedbacks stop on their own while 0 indicates to loop all feedbacks endlessly. They must be stopped via [method@LfbEvent.end_feedback] in this case.

It is an error to change the timeout after the feedback has been triggered via [method@LfbEvent.trigger_feedback].

Parameters:

this

The event

timeout

The timeout