MeasureCallbackStub

class MeasureCallbackStub : Stub
androidx.health.services.client.impl.MeasureCallbackStub

A stub implementation for IMeasureCallback.

Summary

Nested classes

Its important to use the same stub for registration and un-registration, to ensure same binder object is passed by framework to service side of the IPC.

Public methods
Unit

Unit

Properties
Executor

ListenerKey

Public methods

onAvailabilityChanged

fun onAvailabilityChanged(response: AvailabilityResponse): Unit

onData

fun onData(response: DataPointsResponse): Unit

Properties

executor

var executor: Executor

listenerKey

val listenerKey: ListenerKey