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 voidCalled when the sdk validation succeedsdefault voidonModelDownloaded(String modelId, Integer count, Integer total) Called when a model is downloaded successfullydefault voidonModelDownloadError(String modelId) Called when a model is downloaded unsuccessfullydefault voidCalled when content from the BioDigital Content API is returneddefault voidCalled 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
-