Interface MCNearbyServiceBrowserDelegate

    • Method Detail

      • browserDidNotStartBrowsingForPeers

        default void browserDidNotStartBrowsingForPeers​(@NotNull
                                                        @NotNull MCNearbyServiceBrowser browser,
                                                        @NotNull
                                                        @NotNull NSError error)
        Browsing did not start due to an error.
      • browserFoundPeerWithDiscoveryInfo

        void browserFoundPeerWithDiscoveryInfo​(@NotNull
                                               @NotNull MCNearbyServiceBrowser browser,
                                               @NotNull
                                               @NotNull MCPeerID peerID,
                                               @Nullable
                                               @Nullable NSDictionary<java.lang.String,​java.lang.String> info)
        Found a nearby advertising peer.
      • browserLostPeer

        void browserLostPeer​(@NotNull
                             @NotNull MCNearbyServiceBrowser browser,
                             @NotNull
                             @NotNull MCPeerID peerID)
        A nearby peer has stopped advertising.