handleResolution

open override fun handleResolution(activity: Activity, requestCode: Int): Boolean

Some exceptions within Google Fit are recoverable via resolution. To check if an exception has a resolution call hasResolution. If so, use the activity to launch a resolution

Return

true if the resolution was resolved, otherwise return super call

Parameters

activity

Activity used to launch a resolution for the current exception status

requestCode

Request code used to request a resolution