Class AssociationRequest

java.lang.Object
com.codename1.nearby.companion.AssociationRequest

public final class AssociationRequest extends Object
What to show the user in the system device chooser, built with AssociationRequest.Builder.
  • Method Details

    • getProfile

      public CompanionProfile getProfile()
      The profile requested. Never null.
    • isSingleDevice

      public boolean isSingleDevice()
      Whether to associate immediately when exactly one device matches, rather than showing a one-item list.
    • getFilters

      public List<DeviceFilter> getFilters()
      The filters, OR-combined. Never null and possibly empty, in which case every visible device is offered.