java.lang.Object |
↳ |
com.google.android.gms.fitness.request.DataTypeCreateRequest.Builder |
Class Overview
Builder used to create new DataTypeInsertRequests.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
DataTypeCreateRequest.Builder
()
Public Methods
Adds a new field with the specified name and format to the new data type.
Parameters |
name |
String
|
format |
int
|
Adds the specified field to the new data type.
Finishes building and returns the request.
Throws |
IllegalStateException |
if name or data fields are not specified.
|
Set the name for the new data type. For private data types the name must have a format
packageName + "." + typeName
, where packageName
is the application
package name and typeName
is a unique identifier of the DataType
withing
package.