AggregateRecordsGroupedByDurationResponse.GetDataOrigins Method

Definition

Returns a set of DataOrigins for the underlying aggregation record, empty set if the corresponding aggregation doesn't exist and or if multiple records were present.

[Android.Runtime.Register("getDataOrigins", "(Landroid/health/connect/datatypes/AggregationType;)Ljava/util/Set;", "", ApiSince=35)]
public System.Collections.Generic.ICollection<Android.Health.Connect.DataTypes.DataOrigin> GetDataOrigins (Android.Health.Connect.DataTypes.AggregationType aggregationType);
[<Android.Runtime.Register("getDataOrigins", "(Landroid/health/connect/datatypes/AggregationType;)Ljava/util/Set;", "", ApiSince=35)>]
member this.GetDataOrigins : Android.Health.Connect.DataTypes.AggregationType -> System.Collections.Generic.ICollection<Android.Health.Connect.DataTypes.DataOrigin>

Parameters

aggregationType
AggregationType

Returns

Attributes

Remarks

Returns a set of DataOrigins for the underlying aggregation record, empty set if the corresponding aggregation doesn't exist and or if multiple records were present.

Java documentation for android.health.connect.AggregateRecordsGroupedByDurationResponse.getDataOrigins(android.health.connect.datatypes.AggregationType<T>).

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