AI-generated Key Takeaways
-
FitnessLocal is the main entry point to the Recording API on mobile.
-
LocalRecordingClient allows for low-battery, always-on background collection and querying of local sensor data.
-
You can get an instance of LocalRecordingClient using either a Context or an Activity.
The main entry point to the Recording API on mobile.
LocalRecordingClientenables low-battery, always-on background collection and querying of local sensor data.
Public Method Summary
| static LocalRecordingClient |
getLocalRecordingClient(Context
context)
Creates a new instance of
LocalRecordingClient
for use in a non-activity Context.
|
| static LocalRecordingClient |
getLocalRecordingClient(Activity
activity)
Creates a new instance of
LocalRecordingClient
for use in an Activity.
|
Inherited Method Summary
Public Methods
public static LocalRecordingClient getLocalRecordingClient (Context context)
Creates a new instance of LocalRecordingClient
for use in a non-activity Context.
public static LocalRecordingClient getLocalRecordingClient (Activity activity)
Creates a new instance of LocalRecordingClient
for use in an Activity.