Package com.biodigital.humansdk
Interface HKServicesInterface
public interface HKServicesInterface
Callback functions for BioDigital Backend Services
All callback functions are optional to implement
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Called when the sdk validation succeedsdefault void
onModelDownloaded
(String modelId, Integer count, Integer total) Called when a model is downloaded successfullydefault void
onModelDownloadError
(String modelId) Called when a model is downloaded unsuccessfullydefault void
Called when content from the BioDigital Content API is returneddefault void
Called when the sdk validation fails
-
Method Details
-
onModelsLoaded
default void onModelsLoaded()Called when content from the BioDigital Content API is returned -
onValidSDK
default void onValidSDK()Called when the sdk validation fails -
onInvalidSDK
default void onInvalidSDK()Called when the sdk validation succeeds -
onModelDownloaded
Called when a model is downloaded successfully- Parameters:
modelId
- the ID of the downloaded modelcount
- the number of models downloaded in this sessiontotal
- the count of models passed into the download session
-
onModelDownloadError
Called when a model is downloaded unsuccessfully- Parameters:
modelId
- the ID of the model that had a download error
-