Added in API level 34

AggregationType


class AggregationType<T : Any!>
kotlin.Any
   ↳ android.health.connect.datatypes.AggregationType

Class to represent aggregation types in Record classes.

New objects of this class cannot be created.

Pre-created (defined in health Record types) objects of this class can be used to query and fetch aggregate results using aggregate APIs in HealthConnectManager

Summary