FitnessOptions.Builder

Stay organized with collections Save and categorize content based on your preferences.
public static final class FitnessOptions.Builder extends Object

Builder to build FitnessOptions.

Public Method Summary

FitnessOptions.Builder
accessActivitySessions(int accessType)
Builder to build FitnessOptions for fitness activity sessions with read or write access.
FitnessOptions.Builder
accessSleepSessions(int accessType)
Builder to build FitnessOptions for sleep sessions with read or write access.
FitnessOptions.Builder
addDataType(DataType datatype, int accessType)
Builder to build FitnessOptions for given DataType with read or write access.
FitnessOptions.Builder
addDataType(DataType datatype)
Builder to build FitnessOptions for given DataType with read access.
FitnessOptions

Inherited Method Summary

Public Methods

public FitnessOptions.Builder accessActivitySessions (int accessType)

Builder to build FitnessOptions for fitness activity sessions with read or write access.

public FitnessOptions.Builder accessSleepSessions (int accessType)

Builder to build FitnessOptions for sleep sessions with read or write access.

public FitnessOptions.Builder addDataType (DataType datatype, int accessType)

Builder to build FitnessOptions for given DataType with read or write access.

public FitnessOptions.Builder addDataType (DataType datatype)

Builder to build FitnessOptions for given DataType with read access.

public FitnessOptions build ()