MeasureCapabilities

public data final class 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(
    @NonNull Set<@NonNull DataType> supportedDataTypesMeasure
)

Public methods

int
void
writeToParcel(@NonNull Parcel dest, int flags)

Public fields

supportedDataTypesMeasure

@NonNull
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(
    @NonNull Set<@NonNull DataType> supportedDataTypesMeasure
)

Public methods

describeContents

@NonNull
public int describeContents()

writeToParcel

@NonNull
public void writeToParcel(@NonNull Parcel dest, int flags)