Interface ResourceDiscoveryListener


  • public interface ResourceDiscoveryListener
    Interface that can be used to receive notifications from a User object about discovered resources that may be of interest to the client application.
    • Method Detail

      • onResourceDiscovered

        void onResourceDiscovered​(User user,
                                  ResourceDiscoveryItemType type,
                                  java.lang.String data)
        Occurs when a resource of interest to the client application is discovered during registration or resource discovery. The client application should register an event handler on this event prior to starting the user.
        Parameters:
        user - that the callback is associated with.
        type - the type of resource item that has been discovered.
        data - the data that was discovered for the indicated resource type..