create Virtual Visit
Creates a new virtual visit.
Return
Triple(VirtualVisitTypeName, visitId, Intent). VirtualVisitTypeName - will be a String containing either phone
or virtual
The visitId can be saved and used later in a VirtualService.resumeVirtualVisit call if necessary (for example, if the user closes the app while in the waiting room or video conference). The Intent can be launched to start the virtual visit waiting room.
Parameters
A FragmentActivity that can be used for the SDK to check for required permissions.
A model containing information about the patient that will be receiving care.
A model containing additional information used to create the virtual visit.
A PaymentMethod object containing the patient's payment information.
Optional, a VirtualActor object containing information about a parent or app user that is booking the visit for someone else. This is only required when VirtualVisitDetails.patientDeclaration is set to org.dexcare.services.models.PatientDeclaration.Other, and ignored otherwise.
A RegisterPushNotification object used to register the Android device for push notifications during the virtual visit. Optional, but highly recommended to be used.
Creates a new virtual visit.
Return
Triple(VirtualVisitTypeName, visitId, Intent).
VirtualVisitTypeName - will be a String containing either
phone
orvirtual
The visitId can be saved and used later in a VirtualService.resumeVirtualVisit call if necessary (for example, if the user closes the app while in the waiting room or video conference). The Intent can be launched to start the virtual visit waiting room.
Parameters
A Fragment that can be used for the SDK to check for required permissions.
A model containing information about the patient that will be receiving care.
A model containing additional information used to create the virtual visit.
A PaymentMethod object containing the patient's payment information.
Optional, a VirtualActor object containing information about a parent or app user that is booking the visit for someone else. This is only required when VirtualVisitDetails.patientDeclaration is set to org.dexcare.services.models.PatientDeclaration.Other, and ignored otherwise.
A RegisterPushNotification object used to register the Android device for push notifications during the virtual visit. Optional, but highly recommended to be used.