Validic Fit Manager
object ValidicFitManager : AggregatorManager<DataType, Task<*>, DataReadResponse>
Content copied to clipboard
Main entry point for the Validic Mobile Aggregator platform to request authorization and collect health data on behalf of the end user.
Functions
currentSubscriptions
Link copied to clipboard
disconnect
Link copied to clipboard
fetchHistory
Link copied to clipboard
open override fun fetchHistory(historyType: AggregatorManager.HistoryType, from: LocalDate, to: LocalDate)
Content copied to clipboard
handlePermissionResult
Link copied to clipboard
open fun handlePermissionResult(activity: Activity, requestCode: Int, resultCode: Int, intent: Intent?)
Content copied to clipboard
Handles responses for requests to authorize the Validic Aggregator to access data from the end user's device Place in the activity's Activity.onActivityResult
hasDataAccess
Link copied to clipboard
open override fun hasDataAccess(dataTypes: Set<DataType>): Map<DataType, Boolean>
Content copied to clipboard
requestPermissions
Link copied to clipboard
open override fun requestPermissions(activity: Activity, dataTypes: Set<DataType>, listener: AggregatorManager.PermissionsHandler<DataType>)
Content copied to clipboard
unsubscribe
Link copied to clipboard