DiscoveryListener
interface DiscoveryListener
Interface for callback invocation for service discovery
Summary
Public methods
onDiscoveryStarted
abstract fun onDiscoveryStarted(serviceType: String!): Unit
onDiscoveryStopped
abstract fun onDiscoveryStopped(serviceType: String!): Unit
onStartDiscoveryFailed
abstract fun onStartDiscoveryFailed(
serviceType: String!,
errorCode: Int
): Unit
onStopDiscoveryFailed
abstract fun onStopDiscoveryFailed(
serviceType: String!,
errorCode: Int
): Unit
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.