Table of Contents

Class AudioUsage

Namespace
Glitch9.AIDevKit
public class AudioUsage : Usage, IEquatable<Usage>, IEquatable<AudioUsage>
Inheritance
object
AudioUsage
Implements
IEquatable<Usage>
IEquatable<AudioUsage>
Inherited Members

Constructors

AudioUsage()

public AudioUsage()

AudioUsage(double, bool)

public AudioUsage(double seconds, bool isEstimated = false)

Parameters

seconds double
isEstimated bool

Fields

isEstimated

public bool isEstimated

Field Value

bool

seconds

public double seconds

Field Value

double

Properties

HasValue

public override bool HasValue { get; }

Property Value

bool

Methods

Equals(AudioUsage)

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

public bool Equals(AudioUsage other)

Parameters

other AudioUsage

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.

GetInspectorValueName()

public override string GetInspectorValueName()

Returns

string

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

TryMerge(Usage)

public override bool TryMerge(Usage other)

Parameters

other Usage

Returns

bool