private InternalSetStatus ( Status status, int id, string fileName ) : void | ||
status | Status | |
id | int | |
fileName | string | |
return | void |
/// <summary> /// Sets the Status of the encoding of a current item. /// </summary> /// <param name="status">The current status.</param> /// <param name="id">The unique ID of the item.</param> /// <param name="fileName">The name of the output file.</param> public static void SetStatus(Status status, int id, string fileName = null) { if (_encoder == null) { return; } _encoder.InternalSetStatus(status, id, fileName); }
/// <summary> /// Sets the Status of the encoding of a current item. /// </summary> /// <param name="status">The current status.</param> /// <param name="id">The unique ID of the item.</param> /// <param name="fileName">The name of the output file.</param> /// <param name="isIndeterminate">The state of the progress bar.</param> /// <param name="reason">The reason of the error.</param> public static void SetStatus(Status status, int id, string fileName = null, bool isIndeterminate = false, string reason = null) { _encoder?.InternalSetStatus(status, id, fileName, isIndeterminate, reason); }