MeasureCapabilities


public final class MeasureCapabilities


Contains the capabilities supported by androidx.health.services.client.MeasureClient on this device.

Summary

Public constructors

MeasureCapabilities(
    @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> supportedDataTypesMeasure
)

Public methods

final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>>

Set of supported DataTypes for measure capture on this device.

@NonNull String

Public constructors

MeasureCapabilities

public MeasureCapabilities(
    @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> supportedDataTypesMeasure
)

Public methods

getSupportedDataTypesMeasure

Added in 1.0.0
public final @NonNull Set<@NonNull DeltaDataType<@NonNull ?, @NonNull ?>> getSupportedDataTypesMeasure()

Set of supported DataTypes 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).

toString

public @NonNull String toString()