Added in API level 34
CervicalMucusRecord.Builder
public
static
final
class
CervicalMucusRecord.Builder
extends Object
java.lang.Object | |
↳ | android.health.connect.datatypes.CervicalMucusRecord.Builder |
Builder class for CervicalMucusRecord
Summary
Public constructors | |
---|---|
Builder(Metadata metadata, Instant time, int sensation, int appearance)
|
Public methods | |
---|---|
CervicalMucusRecord
|
build()
|
CervicalMucusRecord.Builder
|
clearZoneOffset()
Sets the zone offset of this record to system default. |
CervicalMucusRecord.Builder
|
setZoneOffset(ZoneOffset zoneOffset)
Sets the zone offset of the user when the activity happened |
Inherited methods | |
---|---|
Public constructors
Builder
Added in API level 34
public Builder (Metadata metadata, Instant time, int sensation, int appearance)
Public methods
build
Added in API level 34
public CervicalMucusRecord build ()
Returns | |
---|---|
CervicalMucusRecord |
Object of CervicalMucusRecord
This value cannot be null . |
clearZoneOffset
Added in API level 34
public CervicalMucusRecord.Builder clearZoneOffset ()
Sets the zone offset of this record to system default.
Returns | |
---|---|
CervicalMucusRecord.Builder |
This value cannot be null . |
setZoneOffset
Added in API level 34
public CervicalMucusRecord.Builder setZoneOffset (ZoneOffset zoneOffset)
Sets the zone offset of the user when the activity happened
Parameters | |
---|---|
zoneOffset |
ZoneOffset : This value cannot be null . |
Returns | |
---|---|
CervicalMucusRecord.Builder |
This value cannot be null . |