Added in API level 34
Builder
class Builder
| kotlin.Any | |
| ↳ | android.health.connect.datatypes.CervicalMucusRecord.Builder |
Builder class for CervicalMucusRecord
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| CervicalMucusRecord |
build() |
| CervicalMucusRecord.Builder |
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 |
Public constructors
Builder
Added in API level 34
Builder(
metadata: Metadata,
time: Instant,
sensation: Int,
appearance: Int)
Public methods
build
Added in API level 34
fun build(): CervicalMucusRecord
| Return | |
|---|---|
CervicalMucusRecord |
Object of CervicalMucusRecord This value cannot be null. |
clearZoneOffset
Added in API level 34
fun clearZoneOffset(): CervicalMucusRecord.Builder
Sets the zone offset of this record to system default.
| Return | |
|---|---|
CervicalMucusRecord.Builder |
This value cannot be null. |
setZoneOffset
Added in API level 34
fun setZoneOffset(zoneOffset: ZoneOffset): CervicalMucusRecord.Builder
Sets the zone offset of the user when the activity happened
| Parameters | |
|---|---|
zoneOffset |
ZoneOffset: This value cannot be null. |
| Return | |
|---|---|
CervicalMucusRecord.Builder |
This value cannot be null. |