Search Results for

    Show / Hide Table of Contents

    Class RadioTools

    Radio tools

    Inheritance
    object
    RadioTools
    Namespace: BassBoom.Basolia.Radio
    Assembly: BassBoom.Basolia.dll
    Syntax
    public static class RadioTools

    Methods

    | Edit this page View Source

    GetRadioInfo(string)

    Gets extended radio station information

    Declaration
    public static IRadioServer? GetRadioInfo(string radioUrl)
    Parameters
    Type Name Description
    string radioUrl

    Radio station URL

    Returns
    Type Description
    IRadioServer

    An instance of IRadioServer. null if type can't be determined. ShoutcastServer if this radio station server uses Shoutcast, and IcecastServer if it uses Icecast.

    | Edit this page View Source

    GetRadioInfoAsync(string)

    Gets extended radio station information asynchronously

    Declaration
    public static Task<IRadioServer?> GetRadioInfoAsync(string radioUrl)
    Parameters
    Type Name Description
    string radioUrl

    Radio station URL

    Returns
    Type Description
    Task<IRadioServer>

    An instance of IRadioServer. null if type can't be determined. ShoutcastServer if this radio station server uses Shoutcast, and IcecastServer if it uses Icecast.

    | Edit this page View Source

    IsRadio(string, out string)

    Checks to see if this is a radio station or not

    Declaration
    public static bool IsRadio(string radioUrl, out string streamType)
    Parameters
    Type Name Description
    string radioUrl

    Radio station URL

    string streamType

    Output stream type

    Returns
    Type Description
    bool

    True if it is a radio station; false otherwise.

    | Edit this page View Source

    IsRadioAsync(string)

    Checks to see if this is a radio station or not

    Declaration
    public static Task<(string, bool)> IsRadioAsync(string radioUrl)
    Parameters
    Type Name Description
    string radioUrl

    Radio station URL

    Returns
    Type Description
    Task<(string, bool)>

    True if it is a radio station; false otherwise.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX