java.lang.Object | |
↳ | com.google.android.gms.fitness.request.DataTypeCreateRequest.Builder |
Builder used to create new DataTypeInsertRequests.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds the specified field to the new data type.
| |||||||||||
Adds a new field with the specified name and format to the new data type.
| |||||||||||
Finishes building and returns the request.
| |||||||||||
Set the name for the new data type.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Adds the specified field to the new data type.
Adds a new field with the specified name and format to the new data type.
Finishes building and returns the request.
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.