Added in API level 34
Record
abstract class Record
kotlin.Any | |
↳ | android.health.connect.datatypes.Record |
A base class for all record classes
Summary
Public methods | |
---|---|
open Boolean |
Indicates whether some other object is "equal to" this one. |
open Metadata | |
open Int |
hashCode() Returns a hash code value for the object. |
Public methods
equals
Added in API level 34
open fun equals(other: Any?): Boolean
Indicates whether some other object is "equal to" this one.
Parameters | |
---|---|
obj |
the reference object with which to compare. |
object |
the reference object with which to compare. This value may be null . |
Return | |
---|---|
Boolean |
true if this object is the same as the obj |
getMetadata
Added in API level 34
open fun getMetadata(): Metadata
Return | |
---|---|
Metadata |
Metadata for this record This value cannot be null . |
hashCode
Added in API level 34
open fun hashCode(): Int
Returns a hash code value for the object.
Return | |
---|---|
Int |
a hash code value for this object. |