/** * <summary> * Starts to record all display commands into a sequence, for later replay. * <para> * The name used to store the sequence is specified when calling * <c>saveSequence()</c>, once the recording is complete. * </para> * </summary> * <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 newSequence() { if (_func == null) { throw new YoctoApiProxyException("No Display connected"); } return(_func.newSequence()); }