Show / Hide Table of Contents

    Interface INsdBrowser

    Definition

    Namespace:
    Tizen.Network.Nsd
    Assembly:
    Tizen.Network.Nsd.dll
    API Level:
    4

    This interface is used for managing the network service discovery using DNS-SD/SSDP.

    public interface INsdBrowser

    Methods

    View Source

    StartDiscovery()

    Starts browsing the DNS-SD/SSDP remote service.

    Declaration
    void StartDiscovery()
    Remarks

    If there are any services available, the ServiceFound event will be invoked. The application will keep browsing for the available or unavailable services until it calls StopDiscovery().

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when any other error occured.

    NotSupportedException

    Thrown when DNS-SD/SSDP is not supported.

    UnauthorizedAccessException

    Thrown when the permission is denied.

    API Level: 4
    Privilege Level: public
    Privilege: http://tizen.org/privilege/internet
    Feature: http://tizen.org/feature/network.service_discovery.dnssdhttp://tizen.org/feature/network.service_discovery.ssdp
    View Source

    StopDiscovery()

    Stops browsing the DNS-SD/SSDP remote service.

    Declaration
    void StopDiscovery()
    Exceptions
    Type Condition
    InvalidOperationException

    Thrown when any other error occured.

    NotSupportedException

    Thrown when DNS-SD/SSDP is not supported.

    API Level: 4
    Feature: http://tizen.org/feature/network.service_discovery.dnssdhttp://tizen.org/feature/network.service_discovery.ssdp
    • View Source
    Back to top Copyright © 2016-2020 Samsung
    Generated by DocFX