目录

UpdateOptions

Class Info

public class UpdateOptions

Request parameter class for updating data for a specified time period to the Health platform.

Nested Class Summary

Qualifier and Type

Class Name and Description

public static class

UpdateOptions.Builder

Builder for UpdateOptions.

Public Method Summary

Qualifier and Type

Method Name and Description

final long

getEndTime()

Obtains the end time of the request for updating data.

long

getEndTime(TimeUnit timeUnit)

Returns the end time of the request for updating data in the specified time unit.

SampleSet

getSampleSet()

Obtains the sampling dataset for the data update request.

final long

getStartTime()

Obtains the start time of the request for updating data.

long

getStartTime(TimeUnit timeUnit)

Returns the start time of the request for updating data in the specified time unit.

Public Methods

[h2]getEndTime()

Method

public final long getEndTime()

Obtains the end time of the request for updating data.

Returns

Type

Description

long

End time of the request for updating data.

[h2]getEndTime(TimeUnit timeUnit)

Method

public long getEndTime(TimeUnit timeUnit)

Obtains the end time of the request for updating data in the specified time unit.

Parameters

Name

Description

timeUnit

Time unit.

Returns

Type

Description

long

End time of the request for updating data.

[h2]getSampleSet()

Method

public SampleSet getSampleSet()

Obtains the sampling dataset for the data update request.

Returns

Type

Description

SampleSet

Sampling dataset for the data update request.

[h2]getStartTime()

Method

public final long getStartTime()

Obtains the start time of the request for updating data.

Returns

Type

Description

long

Start time of the request for updating data.

[h2]getStartTime(TimeUnit timeUnit)

Method

public long getStartTime(TimeUnit timeUnit)

Obtains the start time of the request for updating data in the specified time unit.

Parameters

Name

Description

timeUnit

Time unit.

Returns

Type

Description

long

Start time of the request for updating data.