isBrowser property

ValueListenable<bool> isBrowser

Determines whether the current device is a Browser or Advertiser.

  • Browser will only see devices with Advertiser status in the peers list. Browser sends connection requests.
  • Advertiser will see in the peers list only devices with Browser status that have sent it a connection request. Advertiser accepts or rejects connection requests.

Implementation

ValueListenable<bool> get isBrowser => _isBrowser;