resumeVirtualVisit

abstract fun resumeVirtualVisit(visitId: String, activity: FragmentActivity, registerPushNotification: RegisterPushNotification?, dexCarePatient: DexCarePatient): DataObserver<Intent>

Provides an api to reconnect to an existing virtual visit.

Return

An intent which can be used to launch the virtual visit activity.

Parameters

visitId

The id of the visit that should be reconnected to, as returned in the startVirtualVisit SDK call.

activity

A FragmentActivity that can be used for the SDK to check for required permissions.

registerPushNotification

A model containing information required to register the android device to receive push notifications. Optional, but highly recommended to be used.

dexCarePatient

A DexCarePatient object containing information about the patient.

Throws

Returned when a visit corresponding to the provided id cannot be found.

Returned when the visit has already been cancelled.

Returned when the visit has already been completed.

Returned when the device does not support a camera or a microphone.

abstract fun resumeVirtualVisit(visitId: String, fragment: Fragment, registerPushNotification: RegisterPushNotification?, dexCarePatient: DexCarePatient): DataObserver<Intent>

Provides an api to reconnect to an existing virtual visit.

Return

An intent which can be used to launch the virtual visit activity.

Parameters

visitId

The id of the visit that should be reconnected to, as returned in the startVirtualVisit SDK call.

fragment

A Fragment that can be used for the SDK to check for required permissions.

registerPushNotification

A model containing information required to register the android device to receive push notifications. Optional, but highly recommended to be used.

dexCarePatient

A DexCarePatient object containing information about the patient.

Throws

Returned when a visit corresponding to the provided id cannot be found.

Returned when the visit has already been cancelled.

Returned when the visit has already been completed.

Returned when the device does not support a camera or a microphone.