Table of Contents

Class StreamInfo

Namespace
RadioExt_Helper.models
Assembly
RadioExt-Helper.dll
Represents the stream that a station uses to play audio from a web source.
public sealed class StreamInfo : INotifyPropertyChanged, ICloneable, IEquatable<StreamInfo>
Inheritance
StreamInfo
Implements
Inherited Members

Properties

IsStream

Indicates if the station is a streaming station or not.
[JsonProperty("isStream")]
public bool IsStream { get; set; }

Property Value

bool

StreamUrl

The web URL of an internet stream for the station.
[JsonProperty("streamURL")]
public string StreamUrl { get; set; }

Property Value

string

Methods

Clone()

Creates a new object that is a copy of the current instance.
public object Clone()

Returns

object
A new object that is a copy of this instance.

Equals(StreamInfo?)

Indicates whether the current object is equal to another object of the same type.
public bool Equals(StreamInfo? other)

Parameters

other StreamInfo
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.

Events

PropertyChanged

Occurs when a property value changes.
public event PropertyChangedEventHandler? PropertyChanged

Event Type

PropertyChangedEventHandler