public final class DataOrigin


Specifies the original source of any Record: application that inserted it and device on which the data was generated.

Summary

Public constructors

DataOrigin(@NonNull String packageName)

Public methods

boolean
equals(Object other)
final @NonNull String

auto-populated by Health Platform at insertion time of the client package name.

int
@NonNull String

Public constructors

DataOrigin

Added in 1.1.0-alpha10
public DataOrigin(@NonNull String packageName)

Public methods

equals

public boolean equals(Object other)

getPackageName

Added in 1.1.0-alpha10
public final @NonNull String getPackageName()

auto-populated by Health Platform at insertion time of the client package name.

hashCode

public int hashCode()

toString

public @NonNull String toString()