Exemple #1
0
 /**
  * <summary>
  *   Waits for a specified delay (in milliseconds) before playing next
  *   commands in current sequence.
  * <para>
  *   This method can be used while
  *   recording a display sequence, to insert a timed wait in the sequence
  *   (without any immediate effect). It can also be used dynamically while
  *   playing a pre-recorded sequence, to suspend or resume the execution of
  *   the sequence. To cancel a delay, call the same method with a zero delay.
  * </para>
  * </summary>
  * <param name="delay_ms">
  *   the duration to wait, in milliseconds
  * </param>
  * <returns>
  *   <c>0</c> if the call succeeds.
  * </returns>
  * <para>
  *   On failure, throws an exception or returns a negative error code.
  * </para>
  */
 public virtual int pauseSequence(int delay_ms)
 {
     if (_func == null)
     {
         throw new YoctoApiProxyException("No Display connected");
     }
     return(_func.pauseSequence(delay_ms));
 }