# Class BonjourPlatform

java.lang.Object
com.codename1.io.bonjour.BonjourPlatform

public class BonjourPlatform extends Object

Platform-supplied implementation of the Bonjour / mDNS APIs. Application code talks to `BonjourBrowser` / `BonjourPublisher`; the facade fetches this via `Display.getInstance().getBonjourPlatform()`.

Part of the framework's service-provider interface, not intended for application use.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BonjourPlatform()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `isSupported()`
  `Object`
  `startBrowse(String type, BonjourServiceListener listener)`
  `Object`
  `startPublish(String name, String type, int port, Map<String,String> txt)`
  `void`
  `stopBrowse(Object handle)`
  `void`
  `stopPublish(Object handle)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BonjourPlatform

    public BonjourPlatform()

- ## Method Details

  - ### isSupported

    public boolean isSupported()

  - ### startBrowse

    public Object startBrowse(String type, BonjourServiceListener listener)

  - ### stopBrowse

    public void stopBrowse(Object handle)

  - ### startPublish

    public Object startPublish(String name, String type, int port, Map<String,String> txt)

  - ### stopPublish

    public void stopPublish(Object handle)