# Class BonjourPlatform

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

public class BonjourPlatform extends java.lang.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()`
  `java.lang.Object`
  `startBrowse(String type, BonjourServiceListener listener)`
  `java.lang.Object`
  `startPublish(String name, String type, int port, Map<String,String> txt)`
  `void`
  `stopBrowse(java.lang.Object handle)`
  `void`
  `stopPublish(java.lang.Object handle)`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### BonjourPlatform

    public BonjourPlatform()

- ## Method Details

  - ### isSupported

    public boolean isSupported()

  - ### startBrowse

    public java.lang.Object startBrowse(String type, BonjourServiceListener listener)

  - ### stopBrowse

    public void stopBrowse(java.lang.Object handle)

  - ### startPublish

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

  - ### stopPublish

    public void stopPublish(java.lang.Object handle)