A B C D E G I J K L M N O P R S T U V W 

A

AccessToken - Class in com.lf.api.models
 
AccessToken() - Constructor for class com.lf.api.models.AccessToken
 
ACTIVE - Static variable in class com.lf.api.constants.WorkoutState
 
addErrorLine(String) - Method in exception com.lf.api.exceptions.InvalidUserRegistrationException
 
addWorkoutStrengthSet(WorkoutStrengthSet) - Method in class com.lf.api.models.WorkoutResult
 
AUTHORIZATION_ACCEPTED - Static variable in class com.lf.api.events.AuthorizationEvent
 
AUTHORIZATION_COMPLETED - Static variable in class com.lf.api.events.AuthorizationEvent
 
AUTHORIZATION_INIT - Static variable in class com.lf.api.events.AuthorizationEvent
 
AUTHORIZATION_LOGIN_SUCCESS - Static variable in class com.lf.api.events.AuthorizationEvent
 
AUTHORIZATION_NOT_ACCEPTED_BY_USER - Static variable in class com.lf.api.events.AuthorizationEvent
 
AuthorizationEvent - Class in com.lf.api.events
 
AuthorizationEvent(String) - Constructor for class com.lf.api.events.AuthorizationEvent
 
AuthorizationEvent(String, RequestToken, AccessToken) - Constructor for class com.lf.api.events.AuthorizationEvent
 

B

buildVersion - Variable in class com.lf.api.models.Equipment
 

C

clone() - Method in class com.lf.api.models.AccessToken
 
clone() - Method in class com.lf.api.models.RequestToken
 
com.lf.api - package com.lf.api
 
com.lf.api.constants - package com.lf.api.constants
 
com.lf.api.events - package com.lf.api.events
 
com.lf.api.exceptions - package com.lf.api.exceptions
 
com.lf.api.models - package com.lf.api.models
 
com.lf.api.models.interfaces - package com.lf.api.models.interfaces
 
combineArrayList(ArrayList<WorkoutPreset>, ArrayList<WorkoutPreset>) - Method in class com.lf.api.VTManager
 
COOLDOWN - Static variable in class com.lf.api.constants.WorkoutState
 

D

DEBUG_MODE - Static variable in class com.lf.api.EquipmentManager
 
DeviceNotAttachedException - Exception in com.lf.api.exceptions
 
DeviceNotAttachedException(String) - Constructor for exception com.lf.api.exceptions.DeviceNotAttachedException
 
DeviceNotAttachedException() - Constructor for exception com.lf.api.exceptions.DeviceNotAttachedException
 
deviceType - Variable in class com.lf.api.models.Equipment
 

E

Equipment - Class in com.lf.api.models
 
Equipment() - Constructor for class com.lf.api.models.Equipment
 
EquipmentManager - Class in com.lf.api
 
EquipmentManager() - Constructor for class com.lf.api.EquipmentManager
Do not call.
EquipmentObserver - Interface in com.lf.api
 
Event - Class in com.lf.api.events
 
Event(String) - Constructor for class com.lf.api.events.Event
 
EventListener - Class in com.lf.api.models
 
EventListener() - Constructor for class com.lf.api.models.EventListener
 
execute(Event) - Method in class com.lf.api.models.EventListener
 

G

GENDER_FEMALE - Static variable in class com.lf.api.models.User
 
GENDER_MALE - Static variable in class com.lf.api.models.User
 
GeneralEquipmentException - Exception in com.lf.api.exceptions
 
GeneralEquipmentException() - Constructor for exception com.lf.api.exceptions.GeneralEquipmentException
 
GeneralEquipmentException(String) - Constructor for exception com.lf.api.exceptions.GeneralEquipmentException
 
GeneralException - Exception in com.lf.api.exceptions
 
GeneralException(String) - Constructor for exception com.lf.api.exceptions.GeneralException
 
GeneralException(int) - Constructor for exception com.lf.api.exceptions.GeneralException
 
getAccessToken() - Method in class com.lf.api.events.AuthorizationEvent
 
getAccessToken() - Method in class com.lf.api.models.AccessToken
 
getAccessToken() - Method in class com.lf.api.VTManager
 
getAccessTokenExpiry() - Method in class com.lf.api.models.AccessToken
 
getAccessTokenLastCheck() - Method in class com.lf.api.models.AccessToken
 
getAccumulatedCalories() - Method in class com.lf.api.models.WorkoutStream
Returns the total calories burned by the user.
getAccumulatedDistance() - Method in class com.lf.api.models.WorkoutStream
Total distance covered by the user.
getAccumulatedDistanceClimbed() - Method in class com.lf.api.models.WorkoutStream
Total distance covered by the user in an inclined workout.
getAge() - Method in class com.lf.api.models.User
 
getAverageLevel() - Method in class com.lf.api.models.WorkoutResult
 
getAveragePace() - Method in class com.lf.api.models.WorkoutResult
 
getAverageRpm() - Method in class com.lf.api.models.WorkoutResult
 
getAverageSpeed() - Method in class com.lf.api.models.WorkoutResult
 
getCalories() - Method in class com.lf.api.models.WorkoutResult
 
getCaloriesThisMonth() - Method in class com.lf.api.models.Progress
 
getCaloriesThisWeek() - Method in class com.lf.api.models.Progress
 
getCaloriesThisYear() - Method in class com.lf.api.models.Progress
 
getClientID() - Method in class com.lf.api.models.AccessToken
 
getClientID() - Method in class com.lf.api.models.RequestToken
 
getClientSecret() - Method in class com.lf.api.models.AccessToken
 
getClientSecret() - Method in class com.lf.api.models.RequestToken
 
getCode() - Method in exception com.lf.api.exceptions.GeneralException
 
getConsoleVersion() - Method in class com.lf.api.EquipmentManager
 
getCurrentHeartRate() - Method in class com.lf.api.models.WorkoutStream
Returns the Heart rate of the user.
getCurrentIncline() - Method in class com.lf.api.models.WorkoutStream
Returns the current incline percentage.
getCurrentLevel() - Method in class com.lf.api.models.WorkoutStream
 
getCurrentResistance() - Method in class com.lf.api.models.WorkoutStream
Returns the defined resistance.
getCurrentSpeed() - Method in class com.lf.api.models.WorkoutStream
Returns the current speed of the user.
getCurrentSpeedRPM() - Method in class com.lf.api.models.WorkoutStream
 
getDefaultWorkouts(Context) - Method in class com.lf.api.VTManager
Returns the embedded workouts in the library.
getDeviceType() - Method in class com.lf.api.EquipmentManager
Returns the console device Types.
getDeviceType() - Method in class com.lf.api.models.WorkoutPreset
 
getDistance() - Method in class com.lf.api.models.WorkoutResult
 
getDistanceclimbed() - Method in class com.lf.api.models.WorkoutResult
 
getDistanceThisMonth() - Method in class com.lf.api.models.Progress
 
getDistanceThisWeek() - Method in class com.lf.api.models.Progress
 
getDistanceThisYear() - Method in class com.lf.api.models.Progress
 
getDurationThisMonth() - Method in class com.lf.api.models.Progress
 
getDurationThisWeek() - Method in class com.lf.api.models.Progress
 
getDurationThisYear() - Method in class com.lf.api.models.Progress
 
getElapsedTime() - Method in class com.lf.api.models.WorkoutResult
 
getEmail() - Method in class com.lf.api.models.User
 
getEquipment() - Method in class com.lf.api.models.WorkoutPreset
 
getEquipment() - Method in class com.lf.api.models.WorkoutResult
 
getEquipmentResultxml() - Method in class com.lf.api.models.WorkoutResult
 
getEventType() - Method in class com.lf.api.events.Event
 
getFbShareEnabled() - Method in class com.lf.api.models.User
 
getFileName() - Method in class com.lf.api.models.WorkoutPreset
 
getFirstDate() - Method in class com.lf.api.models.WorkoutSummary
 
getFirstname() - Method in class com.lf.api.models.User
 
getGender() - Method in class com.lf.api.models.User
 
getGoal() - Method in class com.lf.api.models.WorkoutPreset
 
getGoal() - Method in class com.lf.api.models.WorkoutResult
 
getHeartrate() - Method in class com.lf.api.models.WorkoutResult
 
getHeight() - Method in class com.lf.api.models.User
 
getHeight() - Method in class com.lf.api.models.WorkoutResult
 
getHeightinFeet() - Method in class com.lf.api.models.User
 
getHeightUnits() - Method in class com.lf.api.models.User
 
getID() - Method in class com.lf.api.models.User
 
getIncline() - Method in class com.lf.api.models.WorkoutResult
 
getInitialSpeed() - Method in class com.lf.api.models.WorkoutResult
 
getInstance() - Static method in class com.lf.api.EquipmentManager
Access the instance of the equipment manager using this.
getInstance() - Static method in class com.lf.api.License
Static method which returns a single instance of the License class;
getInstance() - Static method in class com.lf.api.VTManager
Returns a single instance of the workout library.
getLastname() - Method in class com.lf.api.models.User
 
getLevel() - Method in class com.lf.api.models.WorkoutPreset
 
getLevel() - Method in class com.lf.api.models.WorkoutResult
 
getLevelLimit() - Method in class com.lf.api.models.WorkoutResult
 
getLocationID() - Method in class com.lf.api.models.User
 
getPace() - Method in class com.lf.api.models.WorkoutResult
 
getPassword() - Method in class com.lf.api.models.User
 
getPreferredlanguage() - Method in class com.lf.api.models.User
 
getPreferredUnit() - Method in class com.lf.api.models.User
 
getPreferredUnitString() - Method in class com.lf.api.models.User
 
getPresetXMLString() - Method in class com.lf.api.models.WorkoutPreset
 
getProgressSummary() - Method in class com.lf.api.VTManager
Returns the user Progress.
getReadPolicyTermsAgreement() - Method in class com.lf.api.models.User
 
getReceiveEmailNotification() - Method in class com.lf.api.models.User
 
getReceivemessages() - Method in class com.lf.api.models.User
 
getRefreshToken() - Method in class com.lf.api.models.AccessToken
 
getReps() - Method in class com.lf.api.models.WorkoutStrengthSet
 
getRequestToken() - Method in class com.lf.api.events.AuthorizationEvent
 
getRequestToken() - Method in class com.lf.api.models.AccessToken
 
getRequestToken() - Method in class com.lf.api.VTManager
 
getRequestTokenCode() - Method in class com.lf.api.models.RequestToken
 
getRequestTokenExpiry() - Method in class com.lf.api.models.RequestToken
 
getSecondDate() - Method in class com.lf.api.models.WorkoutSummary
 
getSpeed() - Method in class com.lf.api.models.WorkoutResult
 
getSpeedLimit() - Method in class com.lf.api.models.WorkoutResult
 
getStrengthWorkoutInJsonArray() - Method in class com.lf.api.models.WorkoutResult
 
getTargetCalories() - Method in class com.lf.api.models.WorkoutStream
Returns the target "calories burned" by the user
getTargetDistance() - Method in class com.lf.api.models.WorkoutStream
Returns the user defined target distance to cover.
getTargetDistanceClibmed() - Method in class com.lf.api.models.WorkoutStream
Returns user defined distance to cover in an inclined workout
getTargetHeartRate() - Method in class com.lf.api.models.WorkoutStream
Returns the user defined Target heart rate.
getTargetIncline() - Method in class com.lf.api.models.WorkoutStream
Returns the user defined target incline percentage.
getTargetSpeed() - Method in class com.lf.api.models.WorkoutStream
Returns the User defined target speed.
getTargetWorkoutSeconds() - Method in class com.lf.api.models.WorkoutStream
Return the target workout set by the user.
getTime() - Method in class com.lf.api.models.WorkoutPreset
 
getType() - Method in class com.lf.api.models.WorkoutResult
 
getType() - Method in class com.lf.api.models.WorkoutSummary
 
getUnit() - Method in class com.lf.api.models.WorkoutPreset
 
getUnit() - Method in class com.lf.api.models.WorkoutResult
 
getUnit() - Method in class com.lf.api.VTManager
 
getUsername() - Method in class com.lf.api.models.User
 
getUserProfile() - Method in class com.lf.api.VTManager
 
getUserWorkout() - Method in class com.lf.api.VTManager
Gets a JSON format of user workouts from the server and wraps them in a class and then returns them in an ArrayList.
getWeight() - Method in class com.lf.api.models.User
 
getWeight() - Method in class com.lf.api.models.WorkoutStrengthSet
 
getWeightLiftedThisMonth() - Method in class com.lf.api.models.Progress
 
getWeightLiftedThisWeek() - Method in class com.lf.api.models.Progress
 
getWeightLiftedThisYear() - Method in class com.lf.api.models.Progress
 
getWeightsLifted() - Method in class com.lf.api.models.WorkoutResult
 
getWeightUnits() - Method in class com.lf.api.models.User
 
getWorkoutDate() - Method in class com.lf.api.models.WorkoutResult
 
getWorkoutdateFormattedYYYYMMDDHHMMSS() - Method in class com.lf.api.models.WorkoutResult
 
getWorkoutDaysThisMonth() - Method in class com.lf.api.models.Progress
 
getWorkoutDaysThisWeek() - Method in class com.lf.api.models.Progress
 
getWorkoutDaysThisYear() - Method in class com.lf.api.models.Progress
 
getWorkoutElapseSeconds() - Method in class com.lf.api.models.WorkoutStream
 
getWorkoutID() - Method in class com.lf.api.models.WorkoutPreset
 
getWorkoutID() - Method in class com.lf.api.models.WorkoutResult
 
getWorkoutlistfromObservers() - Method in class com.lf.api.EquipmentManager
 
getWorkoutName() - Method in class com.lf.api.models.WorkoutPreset
 
getWorkoutname() - Method in class com.lf.api.models.WorkoutResult
 
getWorkoutState() - Method in class com.lf.api.models.WorkoutStream
Workout state values [0,1,2,3,4]

I

IDLE - Static variable in class com.lf.api.constants.WorkoutState
 
initByJSON(JSONObject) - Method in class com.lf.api.models.User
 
initByJsonObject(JSONObject) - Method in class com.lf.api.models.Progress
 
initByXml(Element) - Method in class com.lf.api.models.User
 
InvalidCredentialException - Exception in com.lf.api.exceptions
Thrown whenever the token is not set before requesting to the web server.
InvalidCredentialException() - Constructor for exception com.lf.api.exceptions.InvalidCredentialException
 
InvalidCredentialException(String) - Constructor for exception com.lf.api.exceptions.InvalidCredentialException
 
InvalidLicenseException - Exception in com.lf.api.exceptions
thrown whenever the license used for this library is invalid.
InvalidLicenseException() - Constructor for exception com.lf.api.exceptions.InvalidLicenseException
 
InvalidLicenseException(String) - Constructor for exception com.lf.api.exceptions.InvalidLicenseException
 
InvalidProtocolException - Exception in com.lf.api.exceptions
 
InvalidProtocolException() - Constructor for exception com.lf.api.exceptions.InvalidProtocolException
 
InvalidProtocolException(String) - Constructor for exception com.lf.api.exceptions.InvalidProtocolException
 
InvalidStartByteException - Exception in com.lf.api.exceptions
 
InvalidStartByteException() - Constructor for exception com.lf.api.exceptions.InvalidStartByteException
 
InvalidUsageException - Exception in com.lf.api.exceptions
 
InvalidUsageException() - Constructor for exception com.lf.api.exceptions.InvalidUsageException
 
InvalidUsageException(String) - Constructor for exception com.lf.api.exceptions.InvalidUsageException
 
InvalidUserRegistrationException - Exception in com.lf.api.exceptions
Thrown whenever the registrations is unsucessful.
InvalidUserRegistrationException() - Constructor for exception com.lf.api.exceptions.InvalidUserRegistrationException
 
InvalidUserRegistrationException(String) - Constructor for exception com.lf.api.exceptions.InvalidUserRegistrationException
 
isAccessTokenValid() - Method in class com.lf.api.models.AccessToken
Checks the validity of the AccesToken.
note:Do not run on UI Thread.
isDeviceCompatible(int) - Method in class com.lf.api.models.WorkoutPreset
 
isLicenseValid() - Method in class com.lf.api.License
Checks for validity of the license
isValid() - Method in class com.lf.api.models.RequestToken
 

J

JSON_AGE - Static variable in class com.lf.api.models.User
 
JSON_EMAIL - Static variable in class com.lf.api.models.User
 
JSON_EMAIL_NOTIFICATION - Static variable in class com.lf.api.models.User
 
JSON_FACEBOOK_SHARING - Static variable in class com.lf.api.models.User
 
JSON_FIRSTNAME - Static variable in class com.lf.api.models.User
 
JSON_GENDER - Static variable in class com.lf.api.models.User
 
JSON_GENDER_FEMALE - Static variable in class com.lf.api.models.User
 
JSON_GENDER_MALE - Static variable in class com.lf.api.models.User
 
JSON_HEIGHT - Static variable in class com.lf.api.models.User
 
JSON_HEIGHT_UNIT - Static variable in class com.lf.api.models.User
 
JSON_LASTNAME - Static variable in class com.lf.api.models.User
 
JSON_LOCATION_ID - Static variable in class com.lf.api.models.User
 
JSON_NICKNAME - Static variable in class com.lf.api.models.User
 
JSON_PASSWORD - Static variable in class com.lf.api.models.User
 
JSON_PREFERRED_LANGUAGE - Static variable in class com.lf.api.models.User
 
JSON_PREFERRED_UNIT - Static variable in class com.lf.api.models.User
 
JSON_RECEIVE_MESSAGES - Static variable in class com.lf.api.models.User
 
JSON_SHARE_PROFILE - Static variable in class com.lf.api.models.User
 
JSON_SHARE_PROGRAM - Static variable in class com.lf.api.models.User
 
JSON_SHARE_PROGRESS - Static variable in class com.lf.api.models.User
 
JSON_TERMS_POLICY - Static variable in class com.lf.api.models.User
 
JSON_UNIT_IMPERIAL - Static variable in class com.lf.api.models.User
 
JSON_UNIT_METRIC - Static variable in class com.lf.api.models.User
 
JSON_USERID - Static variable in class com.lf.api.models.User
 
JSON_WEIGHT - Static variable in class com.lf.api.models.User
 
JSON_WEIGHT_UNIT - Static variable in class com.lf.api.models.User
 

K

key() - Method in class com.lf.api.models.EventListener
 
KEY_ACCESSORY_SERIAL - Static variable in class com.lf.api.EquipmentManager
 

L

License - Class in com.lf.api
 
License() - Constructor for class com.lf.api.License
Constructor
login(Context, WebView) - Method in class com.lf.api.VTManager
 
login(AccessToken) - Method in class com.lf.api.VTManager
 
logout() - Method in class com.lf.api.VTManager
Logouts the lifefitness user and clears the oauth token.

M

MANUAL_WORKOUT_JSON_CARDIO_CALORIES - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_CARDIO_DISTANCE - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_CARDIO_TIME - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_DATE_PERFORMED - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_FACEBOOK_SHARING - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_PREFERRED_UNIT - Static variable in class com.lf.api.models.WorkoutResult
 
MANUAL_WORKOUT_JSON_WORKOUT_NAME - Static variable in class com.lf.api.models.WorkoutResult
 
manufactureID - Variable in class com.lf.api.models.Equipment
 
mibVersion - Variable in class com.lf.api.models.Equipment
 
motorControllerVersion - Variable in class com.lf.api.models.Equipment
 
MSG_CONTEXT_NOT_PASSED - Static variable in exception com.lf.api.exceptions.InvalidUsageException
 
MSG_INVALID_STRENGTHWORKOUT_REPS - Static variable in exception com.lf.api.exceptions.InvalidUsageException
 
MSG_INVALIDLICENSE - Static variable in exception com.lf.api.exceptions.InvalidLicenseException
 
MSG_INVALIDTOKEN - Static variable in exception com.lf.api.exceptions.InvalidCredentialException
 
MSG_Malformed - Static variable in exception com.lf.api.exceptions.InvalidUserRegistrationException
 
MSG_MISSINGFIELD - Static variable in exception com.lf.api.exceptions.InvalidUserRegistrationException
 
MSG_TOKEN - Static variable in exception com.lf.api.exceptions.InvalidCredentialException
 

N

NETWORK_ERROR - Static variable in class com.lf.api.License
 
NO_INTERNET - Static variable in exception com.lf.api.exceptions.GeneralException
 
NOT_VALID - Static variable in class com.lf.api.License
 
notificationID - Static variable in class com.lf.api.EquipmentManager
 
notifyObserversOnError(Exception) - Method in class com.lf.api.EquipmentManager
 

O

onAutoLoginRequest() - Method in interface com.lf.api.EquipmentObserver
 
onBind(Intent) - Method in class com.lf.api.EquipmentManager
 
onConnected() - Method in interface com.lf.api.EquipmentObserver
This method is called after a successful connection to equipment.
onConnection() - Method in interface com.lf.api.EquipmentObserver
This method is called before the app make connection to the equipment.
onConsoleMaxInclineReceived(double) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the GET_CONSOLE_MAX_INCLINE message.
onConsoleMaxTimeReceived(int) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the GET_CONSOLE_MAX_TIME message.
onConsoleUnitsReceived(byte) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the GET_CONSOLE_UNITS message.
onCreate() - Method in class com.lf.api.EquipmentManager
 
onDataReceived(ProtocolCommand) - Method in class com.lf.api.EquipmentManager
 
onDataReceived(ProtocolCommand) - Method in interface com.lf.api.models.interfaces.ServiceListener
Will be called whenever the device sends a command
onDestroy() - Method in class com.lf.api.EquipmentManager
 
onDeviceDisconnected() - Method in class com.lf.api.EquipmentManager
 
onDeviceDisconnected() - Method in interface com.lf.api.models.interfaces.ServiceListener
called during device disconnection
onDisconnected() - Method in interface com.lf.api.EquipmentObserver
This method is called after a connection between app and equipment is ended.
onError(Exception) - Method in interface com.lf.api.EquipmentObserver
Any error will trigger this method call which can be one of the following exception:

DeviceNotAttachedException - Device is not attached to equipment USB port (try to reconnect the cable)
ConnectionLostException - Connection is not established (retry the connection process)
InvalidProtocolException - Invalid communication protocol (could be an incompatible console and library version)
GeneralEquipmentException - Others


The exception message will also includes the state of communication which can be:

handshake, number of presets, preset list, preset data, play list, result file name, result file data, version, console version, max packet size, stream data with "before", "during" or "after" attribute.


E.g.
onInit() - Method in interface com.lf.api.EquipmentObserver
This method is called on the initialization of object.
onPause() - Method in class com.lf.api.EquipmentManager
Call when the Parent activity is on Pause.
onSendingWorkoutPreset() - Method in interface com.lf.api.EquipmentObserver
This method is called during the sending of workoutpreset to the equipment.
onSetWorkoutInclineAckReceived(boolean) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the SET_WORKOUT_INCLINE message.
onSetWorkoutLevelAckReceived(boolean) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the SET_WORKOUT_LEVEL message.
onSetWorkoutThrAckReceived(boolean) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the SET_WORKOUT_THR message.
onSetWorkoutWattsAckReceived(boolean) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the SET_WORKOUT_WATTS message.
onShowConsoleMessageAckReceived(boolean) - Method in interface com.lf.api.EquipmentObserver
This method is called in response to the SHOW_CONSOLE_MESSAGE message.
onStreamReceived(WorkoutStream) - Method in interface com.lf.api.EquipmentObserver
This method is called every second during a workout with updated workout data.
onWorkoutPresetSent() - Method in interface com.lf.api.EquipmentObserver
This method is called after the work out presets are sent to equipment.
onWorkoutResultReceived(WorkoutResult) - Method in interface com.lf.api.EquipmentObserver
This method is called after the work out is done and ended by the fitness user.
osVersion - Variable in class com.lf.api.models.Equipment
 

P

PAUSED - Static variable in class com.lf.api.constants.WorkoutState
 
postUserWorkout(WorkoutResult) - Method in class com.lf.api.VTManager
Submits user workout result to the lifefitness server.
Progress - Class in com.lf.api.models
 
Progress() - Constructor for class com.lf.api.models.Progress
 
Progress(JSONObject) - Constructor for class com.lf.api.models.Progress
 

R

REDIRECT_OAUTH_URL - Static variable in class com.lf.api.VTManager
 
registerObserver(EquipmentObserver) - Method in class com.lf.api.EquipmentManager
Adds an observer which listens for the console state change
removeWorkoutStrengthSet(WorkoutStrengthSet) - Method in class com.lf.api.models.WorkoutResult
 
removeWorkoutStrengthSetByIndex(int) - Method in class com.lf.api.models.WorkoutResult
 
REQUESTING - Static variable in class com.lf.api.License
 
RequestToken - Class in com.lf.api.models
 
RequestToken(String, String) - Constructor for class com.lf.api.models.RequestToken
 
returnUserInfo(String) - Method in class com.lf.api.EquipmentManager
 

S

sendSetWorkoutIncline(double) - Method in class com.lf.api.EquipmentManager
Raises or lowers the incline of the treadmill.
sendSetWorkoutLevel(int) - Method in class com.lf.api.EquipmentManager
Increases or decreases the difficulty level of a workout.
sendSetWorkoutThr(int) - Method in class com.lf.api.EquipmentManager
Increase or decreases the Target Heart Rate.
sendSetWorkoutWatts(int) - Method in class com.lf.api.EquipmentManager
Increases or decreases the resistance of equipment.
sendShowConsoleMessage(String) - Method in class com.lf.api.EquipmentManager
Sends a string 1024 size characters which creates a dialog pop-up in the Discover console screen.

This feature is available for all equipments with Discover Consoles
Related Methods:
EquipmentObserver onShowConsoleMessageAckReceived(boolean)
sendUserAuthenticationProfile(String) - Method in class com.lf.api.EquipmentManager
 
serialNo - Variable in class com.lf.api.models.Equipment
 
ServiceListener - Interface in com.lf.api.models.interfaces
 
setAccessToken(AccessToken) - Method in class com.lf.api.events.AuthorizationEvent
 
setAccessToken(String) - Method in class com.lf.api.models.AccessToken
 
setAccessTokenExpiry(Date) - Method in class com.lf.api.models.AccessToken
 
setAccessTokenLastCheck(Date) - Method in class com.lf.api.models.AccessToken
 
setAccumulatedCalories(double) - Method in class com.lf.api.models.WorkoutStream
Setter for total calories burned.
setAccumulatedDistance(double) - Method in class com.lf.api.models.WorkoutStream
Setter for total distance covered
setAccumulatedDistanceClimbed(double) - Method in class com.lf.api.models.WorkoutStream
Setter for distance covered in an inclined workout
setAge(int) - Method in class com.lf.api.models.User
This is a mandatory field.
setAverageLevel(double) - Method in class com.lf.api.models.WorkoutResult
 
setAveragePace(String) - Method in class com.lf.api.models.WorkoutResult
 
setAverageRpm(double) - Method in class com.lf.api.models.WorkoutResult
 
setAverageSpeed(double) - Method in class com.lf.api.models.WorkoutResult
 
setCalories(double) - Method in class com.lf.api.models.WorkoutResult
Setter for calories burned.
setCaloriesThisMonth(double) - Method in class com.lf.api.models.Progress
 
setCaloriesThisWeek(double) - Method in class com.lf.api.models.Progress
 
setCaloriesThisYear(double) - Method in class com.lf.api.models.Progress
 
setClientID(String) - Method in class com.lf.api.models.RequestToken
 
setClientSecret(String) - Method in class com.lf.api.models.RequestToken
 
setCode(int) - Method in exception com.lf.api.exceptions.GeneralException
 
setCurrentHeartRate(double) - Method in class com.lf.api.models.WorkoutStream
Setter for user Heart Rate
setCurrentIncline(double) - Method in class com.lf.api.models.WorkoutStream
Setter for the current incline percentage
setCurrentLevel(double) - Method in class com.lf.api.models.WorkoutStream
 
setCurrentResistance(double) - Method in class com.lf.api.models.WorkoutStream
 
setCurrentSpeed(double) - Method in class com.lf.api.models.WorkoutStream
Setter for the current speed of the user.
setCurrentSpeedRPM(double) - Method in class com.lf.api.models.WorkoutStream
Speed in terms of Revolutions per Minute
setDeviceType(int[]) - Method in class com.lf.api.models.WorkoutPreset
 
setDistance(double) - Method in class com.lf.api.models.WorkoutResult
Setter for total distance
setDistanceclimbed(double) - Method in class com.lf.api.models.WorkoutResult
 
setDistanceThisMonth(double) - Method in class com.lf.api.models.Progress
 
setDistanceThisWeek(double) - Method in class com.lf.api.models.Progress
 
setDistanceThisYear(double) - Method in class com.lf.api.models.Progress
 
setDurationThisMonth(double) - Method in class com.lf.api.models.Progress
 
setDurationThisWeek(double) - Method in class com.lf.api.models.Progress
 
setDurationThisYear(double) - Method in class com.lf.api.models.Progress
 
setElapsedTime(double) - Method in class com.lf.api.models.WorkoutResult
 
setEmail(String) - Method in class com.lf.api.models.User
This is a mandatory field.
setEnvironmentToLive(Context, boolean) - Method in class com.lf.api.License
Used to switch Environment on Runtime.
setEquipment(String) - Method in class com.lf.api.models.WorkoutPreset
 
setEquipment(Equipment) - Method in class com.lf.api.models.WorkoutResult
 
setEquipmentResultxml(String) - Method in class com.lf.api.models.WorkoutResult
 
setEventType(String) - Method in class com.lf.api.events.Event
 
setFbShareEnabled(Boolean) - Method in class com.lf.api.models.User
 
setFileName(String) - Method in class com.lf.api.models.WorkoutPreset
 
setFirstDate(Calendar) - Method in class com.lf.api.models.WorkoutSummary
Setter for the first date in range.
setFirstname(String) - Method in class com.lf.api.models.User
 
setGender(int) - Method in class com.lf.api.models.User
 
setGoal(int) - Method in class com.lf.api.models.WorkoutPreset
 
setGoal(int) - Method in class com.lf.api.models.WorkoutResult
 
setHeartrate(double) - Method in class com.lf.api.models.WorkoutResult
 
setHeight(double) - Method in class com.lf.api.models.User
 
setHeight(double) - Method in class com.lf.api.models.WorkoutResult
 
setHeightUnits(int) - Method in class com.lf.api.models.User
 
setID(int) - Method in class com.lf.api.models.User
 
setIncline(double) - Method in class com.lf.api.models.WorkoutResult
 
setInitialSpeed(double) - Method in class com.lf.api.models.WorkoutResult
 
setLastname(String) - Method in class com.lf.api.models.User
 
setLevel(double) - Method in class com.lf.api.models.WorkoutPreset
 
setLevel(double) - Method in class com.lf.api.models.WorkoutResult
 
setLevelLimit(double) - Method in class com.lf.api.models.WorkoutResult
 
setLicense(Context, String) - Method in class com.lf.api.License
Sets the license key and checks for validity.
setLocationID(int) - Method in class com.lf.api.models.User
This field is mandatory.
setPace(double) - Method in class com.lf.api.models.WorkoutResult
 
setPassword(String) - Method in class com.lf.api.models.User
This is a mandatory field.
setPreferredlanguage(String) - Method in class com.lf.api.models.User
 
setPreferredUnit(int) - Method in class com.lf.api.models.User
 
setPresetXMLString(String) - Method in class com.lf.api.models.WorkoutPreset
 
setReadPolicyTermsAgreement(Boolean) - Method in class com.lf.api.models.User
 
setReceiveEmailNotification(Boolean) - Method in class com.lf.api.models.User
 
setReceivemessages(Boolean) - Method in class com.lf.api.models.User
 
setRefreshToken(String) - Method in class com.lf.api.models.AccessToken
 
setReps(int) - Method in class com.lf.api.models.WorkoutStrengthSet
 
setRequestToken(RequestToken) - Method in class com.lf.api.events.AuthorizationEvent
 
setRequestToken(RequestToken) - Method in class com.lf.api.models.AccessToken
 
setRequestTokenCode(String) - Method in class com.lf.api.models.RequestToken
 
setRequestTokenExpiry(Date) - Method in class com.lf.api.models.RequestToken
 
setSecondDate(Calendar) - Method in class com.lf.api.models.WorkoutSummary
Setter for the second date in the range.
setSpeed(int) - Method in class com.lf.api.models.WorkoutResult
 
setSpeedLimit(double) - Method in class com.lf.api.models.WorkoutResult
 
setTargetCalories(double) - Method in class com.lf.api.models.WorkoutStream
Setter for target "calories burned" by the user.
setTargetDistance(double) - Method in class com.lf.api.models.WorkoutStream
Setter for target distance to cover
setTargetDistanceClibmed(double) - Method in class com.lf.api.models.WorkoutStream
Setter for user defined target distance to cover in an inclined workout.
setTargetHeartRate(double) - Method in class com.lf.api.models.WorkoutStream
 
setTargetIncline(double) - Method in class com.lf.api.models.WorkoutStream
Setter for taget incline percentage
setTargetSpeed(double) - Method in class com.lf.api.models.WorkoutStream
Setter for user target speed
setTargetWorkoutSeconds(double) - Method in class com.lf.api.models.WorkoutStream
Setter for user target workout duration
setTime(double) - Method in class com.lf.api.models.WorkoutPreset
 
setUnit(int) - Method in class com.lf.api.models.WorkoutPreset
 
setUnit(int) - Method in class com.lf.api.models.WorkoutResult
 
setUnit(Integer) - Method in class com.lf.api.VTManager
Use to set the user preferred unit from the response.
setUsername(String) - Method in class com.lf.api.models.User
Minimum of 4 alphaNumeric characters.
setWeight(double) - Method in class com.lf.api.models.User
 
setWeight(int) - Method in class com.lf.api.models.WorkoutStrengthSet
 
setWeightLiftedThisMonth(double) - Method in class com.lf.api.models.Progress
 
setWeightLiftedThisWeek(double) - Method in class com.lf.api.models.Progress
 
setWeightLiftedThisYear(double) - Method in class com.lf.api.models.Progress
 
setWeightsLifted(double) - Method in class com.lf.api.models.WorkoutResult
 
setWeightUnits(int) - Method in class com.lf.api.models.User
 
setWorkoutDate(Calendar) - Method in class com.lf.api.models.WorkoutResult
 
setWorkoutDaysThisMonth(double) - Method in class com.lf.api.models.Progress
 
setWorkoutDaysThisWeek(double) - Method in class com.lf.api.models.Progress
 
setWorkoutDaysThisYear(double) - Method in class com.lf.api.models.Progress
 
setWorkoutElapseSeconds(double) - Method in class com.lf.api.models.WorkoutStream
Setter for total workout duration
setWorkoutId(int) - Method in class com.lf.api.models.WorkoutPreset
 
setWorkoutID(int) - Method in class com.lf.api.models.WorkoutResult
 
setWorkoutName(String) - Method in class com.lf.api.models.WorkoutPreset
 
setWorkoutname(String) - Method in class com.lf.api.models.WorkoutResult
 
setWorkoutState(int) - Method in class com.lf.api.models.WorkoutStream
 
softwareVersion - Variable in class com.lf.api.models.Equipment
 
start() - Method in class com.lf.api.EquipmentManager
Call this after the service is bound and instantiated.
state - Variable in class com.lf.api.License
 
stop() - Method in class com.lf.api.EquipmentManager
Call to stop listening to the device.
streamThrow - Variable in class com.lf.api.EquipmentManager
 

T

TAG - Static variable in class com.lf.api.EquipmentManager
 
TAG - Static variable in class com.lf.api.models.AccessToken
 
toString() - Method in class com.lf.api.constants.Unit
 
toString() - Method in class com.lf.api.events.AuthorizationEvent
 
toString() - Method in class com.lf.api.events.Event
 
toString() - Method in exception com.lf.api.exceptions.GeneralException
 
toString() - Method in exception com.lf.api.exceptions.InvalidUserRegistrationException
 
toString() - Method in class com.lf.api.models.AccessToken
 
toString() - Method in class com.lf.api.models.Equipment
 
toString() - Method in class com.lf.api.models.Progress
 
toString() - Method in class com.lf.api.models.RequestToken
 
toString() - Method in class com.lf.api.models.User
 
toString() - Method in class com.lf.api.models.WorkoutPreset
 
toString() - Method in class com.lf.api.models.WorkoutStream
 
TYPE_MONTH - Static variable in class com.lf.api.models.WorkoutSummary
 
TYPE_RANGE - Static variable in class com.lf.api.models.WorkoutSummary
 
TYPE_WEEK - Static variable in class com.lf.api.models.WorkoutSummary
 
TYPE_YEAR - Static variable in class com.lf.api.models.WorkoutSummary
 

U

Unit - Class in com.lf.api.constants
 
Unit(int) - Constructor for class com.lf.api.constants.Unit
 
UNIT_IMPERIAL - Static variable in class com.lf.api.constants.Unit
 
UNIT_METRIC - Static variable in class com.lf.api.constants.Unit
 
unregisterObserver(EquipmentObserver) - Method in class com.lf.api.EquipmentManager
Removes an observer from the collection
User - Class in com.lf.api.models
 
User() - Constructor for class com.lf.api.models.User
 
User(Element) - Constructor for class com.lf.api.models.User
 

V

VALID - Static variable in class com.lf.api.License
 
VTManager - Class in com.lf.api
 
VTManager() - Constructor for class com.lf.api.VTManager
constructor

W

WOKROUTTYPE_CARDIO - Static variable in class com.lf.api.models.WorkoutResult
 
WorkoutPreset - Class in com.lf.api.models
 
WorkoutPreset(JSONObject) - Constructor for class com.lf.api.models.WorkoutPreset
 
WorkoutPreset() - Constructor for class com.lf.api.models.WorkoutPreset
 
WorkoutResult - Class in com.lf.api.models
 
WorkoutResult() - Constructor for class com.lf.api.models.WorkoutResult
Constructor
WorkoutResult(int) - Constructor for class com.lf.api.models.WorkoutResult
 
WorkoutState - Class in com.lf.api.constants
 
WorkoutState() - Constructor for class com.lf.api.constants.WorkoutState
 
WorkoutStream - Class in com.lf.api.models
 
WorkoutStream() - Constructor for class com.lf.api.models.WorkoutStream
 
WorkoutStrengthSet - Class in com.lf.api.models
 
WorkoutStrengthSet() - Constructor for class com.lf.api.models.WorkoutStrengthSet
 
WORKOUTSUMMARY - Static variable in class com.lf.api.constants.WorkoutState
 
WorkoutSummary - Class in com.lf.api.models
 
WorkoutSummary(int) - Constructor for class com.lf.api.models.WorkoutSummary
Constructor
WORKOUTTYPE_LIFEFITNESS - Static variable in class com.lf.api.models.WorkoutResult
 
WORKOUTTYPE_STRENGTH - Static variable in class com.lf.api.models.WorkoutResult
 
A B C D E G I J K L M N O P R S T U V W