Język

AggregateRecordsResponse.GetZoneOffset(AggregationType) Method

Definition

Gets the zone offset of the underlying aggregation record for the specified aggregation type.

[Android.Runtime.Register("getZoneOffset", "(Landroid/health/connect/datatypes/AggregationType;)Ljava/time/ZoneOffset;", "", ApiSince=34)]
public Java.Time.ZoneOffset? GetZoneOffset(Android.Health.Connect.DataTypes.AggregationType aggregationType);
[<Android.Runtime.Register("getZoneOffset", "(Landroid/health/connect/datatypes/AggregationType;)Ljava/time/ZoneOffset;", "", ApiSince=34)>]
member this.GetZoneOffset : Android.Health.Connect.DataTypes.AggregationType -> Java.Time.ZoneOffset

Parameters

aggregationType
AggregationType

The aggregation type for which to get the zone offset.

Returns

ZoneOffset for the underlying aggregation record, null if the corresponding aggregation doesn't exist and or if multiple records were present.

Attributes

Remarks

Java documentation for android.health.connect.AggregateRecordsResponse.getZoneOffset(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