You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Taking ServiceInfo using the following implementation causes the serviceResolved method to be called continuously(infinitely) for single service registration:
`
If I use the implementation shown below I see one or two calls of serviceResolved method for single service registration but only last one has proper string/message describing service
`
ServiceInfo serviceInfo = event.getInfo();
String deviceInfo = new String(serviceInfo.getTextBytes());
`
Why does the last call of serviceResolved method has the correct message?
The text was updated successfully, but these errors were encountered:
Taking ServiceInfo using the following implementation causes the serviceResolved method to be called continuously(infinitely) for single service registration:
`
class SampleListener implements ServiceListener {
If I use the implementation shown below I see one or two calls of serviceResolved method for single service registration but only last one has proper string/message describing service
`
ServiceInfo serviceInfo = event.getInfo();
String deviceInfo = new String(serviceInfo.getTextBytes());
`
Why does the last call of serviceResolved method has the correct message?
The text was updated successfully, but these errors were encountered: