performDiagnosis

@JvmStatic
fun performDiagnosis(context: Context, diagnosisLauncher: ActivityResultLauncher<Intent>, diagnosisRequest: DiagnosisRequest)

Starts a DiagnosisRequest. As opposed to a regular transaction, this starts an Activity but does not contain any UI.

Parameters

context

The Context used to start the Diagnosis Activity.

diagnosisLauncher

The ActivityResultLauncher used to receive the result of the diagnosis.

diagnosisRequest

The request in the form of a Terminal API DiagnosisRequest JSON string.