public final class

Field

extends Object
implements SafeParcelable
java.lang.Object
   ↳ com.google.android.gms.fitness.data.Field

Class Overview

A field represents one dimension of a data type. Defines the name and format of data. Unlike data type names, field names are not namespaced, and only need to be unique within the data type.

Summary

Constants
int FORMAT_FLOAT Format constant indicating the field holds float values.
int FORMAT_INT32 Format constant indicating the field holds integer values.
[Expand]
Inherited Constants
From interface android.os.Parcelable
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
Fields
public static final Creator<Field> CREATOR
Public Methods
int describeContents()
boolean equals(Object that)
int getFormat()
Returns the format of the field, as one of the format constant values.
String getName()
Returns the name of the field.
int hashCode()
String toString()
void writeToParcel(Parcel dest, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Constants

public static final int FORMAT_FLOAT

Format constant indicating the field holds float values.

Constant Value: 2 (0x00000002)

public static final int FORMAT_INT32

Format constant indicating the field holds integer values.

Constant Value: 1 (0x00000001)

Fields

public static final Creator<Field> CREATOR

Public Methods

public int describeContents ()

public boolean equals (Object that)

public int getFormat ()

Returns the format of the field, as one of the format constant values.

public String getName ()

Returns the name of the field.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)