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
StreamUrl
The web URL of an internet stream for the station.
  
  [JsonProperty("streamURL")]
public string StreamUrl { get; set; }
  Property Value
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
otherStreamInfo- An object to compare with this object.
 
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
  
  public override bool Equals(object? obj)
  Parameters
objobject- The object to compare with the current object.
 
Returns
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