MeasureCapabilities

public final class MeasureCapabilities extends ProtoParcelable

Object
   ↳ ProtoParcelable
     ↳ MeasureCapabilities

A place holder class that represents the capabilities of the androidx.health.services.client.MeasureClient on the device.

Summary

Public fields

final @NonNull Set<@NonNull DataType>

Set of supported DataType s for measure capture on this device.

Public constructors

MeasureCapabilities(Set<DataType> supportedDataTypesMeasure)

Public methods

@NonNull String

Inherited methods

From class ProtoParcelable
int
boolean
equals(Object other)
int
void
writeToParcel(Parcel dest, int flags)

Public fields

supportedDataTypesMeasure

public final @NonNull Set<@NonNull DataTypesupportedDataTypesMeasure

Set of supported DataType s for measure capture on this device.

Some data types are not available for measurement; this is typically used to measure health data (e.g. HR).

Public constructors

MeasureCapabilities

public final MeasureCapabilities(Set<DataType> supportedDataTypesMeasure)

Public methods

toString

public @NonNull String toString()