Struct DownloadInfo
Holds information about a download operation.
Assembly: StrixMusic.Sdk.dll
Syntax
public readonly struct DownloadInfo : IEquatable<DownloadInfo>
Constructors
|
Improve this Doc
View Source
DownloadInfo(DownloadState, ushort)
Declaration
public DownloadInfo(DownloadState state, ushort progress)
Parameters
|
Improve this Doc
View Source
DownloadInfo(DownloadState)
Declaration
public DownloadInfo(DownloadState state)
Parameters
Properties
|
Improve this Doc
View Source
Progress
A value between 0 and 65535 representing how much of this playable item has been downloaded for offline playback.
Declaration
public ushort Progress { get; }
Property Value
|
Improve this Doc
View Source
State
The current download state.
Declaration
public DownloadState State { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(DownloadInfo)
Declaration
public bool Equals(DownloadInfo other)
Parameters
Returns
|
Improve this Doc
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Improve this Doc
View Source
operator ==(DownloadInfo, DownloadInfo)
Declaration
public static bool operator ==(DownloadInfo left, DownloadInfo right)
Parameters
Returns
|
Improve this Doc
View Source
operator !=(DownloadInfo, DownloadInfo)
Declaration
public static bool operator !=(DownloadInfo left, DownloadInfo right)
Parameters
Returns
Implements