MeshServiceClient
class MeshServiceClient(context: Context, serviceRepository: AndroidServiceRepository, serviceSetupJob: SequentialJob) : ServiceClient<IMeshService> , DefaultLifecycleObserver(source)
A Activity-lifecycle-aware ServiceClient that binds MeshService once the Activity is started.
Constructors
Link copied to clipboard
constructor(context: Context, serviceRepository: AndroidServiceRepository, serviceSetupJob: SequentialJob)
Properties
Functions
Link copied to clipboard
Called on the main thread when the service is connected.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Called on the main thread when the service connection is lost.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Blocks the current thread until the service is connected.