HealthConnectManager.Aggregate Method

Definition

Get aggregations corresponding to request.

[Android.Runtime.Register("aggregate", "(Landroid/health/connect/AggregateRecordsRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetAggregate_Landroid_health_connect_AggregateRecordsRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public virtual void Aggregate (Android.Health.Connect.AggregateRecordsRequest request, Java.Util.Concurrent.IExecutor executor, Android.OS.IOutcomeReceiver callback);
[<Android.Runtime.Register("aggregate", "(Landroid/health/connect/AggregateRecordsRequest;Ljava/util/concurrent/Executor;Landroid/os/OutcomeReceiver;)V", "GetAggregate_Landroid_health_connect_AggregateRecordsRequest_Ljava_util_concurrent_Executor_Landroid_os_OutcomeReceiver_Handler", ApiSince=34)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
abstract member Aggregate : Android.Health.Connect.AggregateRecordsRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit
override this.Aggregate : Android.Health.Connect.AggregateRecordsRequest * Java.Util.Concurrent.IExecutor * Android.OS.IOutcomeReceiver -> unit

Parameters

request
AggregateRecordsRequest

request for different aggregation.

executor
IExecutor

Executor on which to invoke the callback.

callback
IOutcomeReceiver

Callback to receive result of performing this operation.

Attributes

Remarks

Get aggregations corresponding to request.

Java documentation for android.health.connect.HealthConnectManager.aggregate(android.health.connect.AggregateRecordsRequest<T>, java.util.concurrent.Executor, android.os.OutcomeReceiver<android.health.connect.AggregateRecordsResponse<T>, android.health.connect.HealthConnectException>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to