RequiresServicesDiscoveredBinding

Builder for setting up binding to an object T so that it may be notified when RemoteService become available / unavailable.

Inheritors

Types

Link copied to clipboard

A RequiresServicesDiscoveredBinding that mutates the object when availability changes.

Link copied to clipboard

A RequiresServicesDiscoveredBinding that does not mutate the object when availability changes.

Functions

Link copied to clipboard
abstract fun onAvailable(action: T.() -> Transformation)

Sets up a Transformation action when RemoteService become available.

Link copied to clipboard
abstract fun onUnavailable(action: T.() -> Transformation)

Sets up a Transformation action when RemoteService become unavailable.