Facebook
Twitter
Pinterest
Tumblr
GitHub
RSS
  • DEV Home
  • Documentation
  • Reference
  • Download
Search Results for

    Show / Hide Table of Contents

    Interface ISsdpDevicePublisher

    Interface for components that publish the existence of SSDP devices.

    Namespace: MediaBrowser.Model.Ssdp
    Assembly: MediaBrowser.Model.dll
    Syntax
    public interface ISsdpDevicePublisher
    Remarks

    Publishing a device includes sending notifications (alive and byebye) as well as responding to search requests when appropriate.

    Methods

    AddDevices(List<SsdpRootDevice>, CancellationToken)

    Adds a device (and it's children) to the list of devices being published by this server, making them discoverable to SSDP clients.

    Declaration
    Task AddDevices(List<SsdpRootDevice> devices, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Collections.Generic.List<SsdpRootDevice> devices

    The devices.

    System.Threading.CancellationToken cancellationToken

    The cancellation token.

    Returns
    Type Description
    System.Threading.Tasks.Task

    RemoveDevices(List<SsdpRootDevice>, CancellationToken)

    Removes a device (and it's children) from the list of devices being published by this server, making them undiscoverable.

    Declaration
    Task RemoveDevices(List<SsdpRootDevice> devices, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Collections.Generic.List<SsdpRootDevice> devices
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task

    Extension Methods

    Extensions.JsonClone<T>(T, IJsonSerializer)

    See Also

    SsdpRootDevice
    SDK
    On this Page
    Back to Top Copyright 2022 © EMBY LLC. Please see our terms of use and privacy policy.