DexCareSDK

object DexCareSDK

This is the public facing interface for clients to be using for DexCare

Functions

getDexCareStatus
Link copied to clipboard
fun getDexCareStatus(): DataObserver<DexCareStatus>
Gets the latest status of the DexCare platform and services.
getEnvironment
Link copied to clipboard
fun getEnvironment(): Environment
init
Link copied to clipboard
fun init(context: Context, environment: Environment, refreshTokenContract: RefreshTokenContract? = null)
This will initialize the SDK with the environment of choice
setApiKey
Link copied to clipboard
fun setApiKey(apiKey: String)
Used to change the apiKey at runtime.
setCustomizationOptions
Link copied to clipboard
fun setCustomizationOptions(customizationOptions: CustomizationOptions?)
setDomain
Link copied to clipboard
fun setDomain(domain: String)
Used to change the domain at runtime.
setEnvironment
Link copied to clipboard
fun setEnvironment(environment: Environment)
This will allow you to change the environment on the fly
setGoogleApiKey
Link copied to clipboard
fun setGoogleApiKey(googleApiKey: String)
Used to set the google api key at runtime.
setRefreshTokenContract
Link copied to clipboard
fun setRefreshTokenContract(refreshTokenContract: RefreshTokenContract?)
signIn
Link copied to clipboard
fun signIn(token: String)
signOut
Link copied to clipboard
fun signOut()

Properties

appointmentService
Link copied to clipboard
val appointmentService: AppointmentService
Provides access to the AppointmentService
availabilityService
Link copied to clipboard
val availabilityService: AvailabilityService
Provides access to the AvailabilityService
patientService
Link copied to clipboard
val patientService: PatientService
Provides access to the PatientService
paymentService
Link copied to clipboard
val paymentService: PaymentService
Provides access to the PaymentService
practiceService
Link copied to clipboard
val practiceService: PracticeService
Provides access to the PracticeService
providerService
Link copied to clipboard
val providerService: ProviderService
Provides access to the ProviderService
retailService
Link copied to clipboard
val retailService: RetailService
Provides access to the RetailService
virtualService
Link copied to clipboard
val virtualService: VirtualService
Provides access to the VirtualService