Table of Contents

Class UpgradeProgressEventArgs

Namespace
Huddly.Sdk.Upgraders
Assembly
Huddly.Sdk.dll
public class UpgradeProgressEventArgs : EventArgs, IEquatable<UpgradeProgressEventArgs>
Inheritance
UpgradeProgressEventArgs
Implements
Inherited Members

Constructors

UpgradeProgressEventArgs(UpgradeState, int, string?)

public UpgradeProgressEventArgs(UpgradeState state, int progressPercent, string? errorMessage = null)

Parameters

state UpgradeState
progressPercent int
errorMessage string

Properties

ErrorMessage

public string? ErrorMessage { get; }

Property Value

string

ProgressPercent

public int ProgressPercent { get; }

Property Value

int

State

public UpgradeState State { get; }

Property Value

UpgradeState

Methods

Equals(UpgradeProgressEventArgs?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(UpgradeProgressEventArgs? other)

Parameters

other UpgradeProgressEventArgs

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.