public static interface DnsServiceDiscovererObserver.DnsResolutionObserver
| Modifier and Type | Method and Description |
|---|---|
void |
resolutionCompleted(DnsServiceDiscovererObserver.ResolutionResult result)
Notifies that the current DNS resolution completed successfully.
|
void |
resolutionFailed(Throwable cause)
Notifies that the current DNS resolution failed.
|
void resolutionFailed(Throwable cause)
cause - Throwable as a cause for the failurevoid resolutionCompleted(DnsServiceDiscovererObserver.ResolutionResult result)
result - the DnsServiceDiscovererObserver.ResolutionResult