Interface HKServicesInterface


public interface HKServicesInterface
Callback functions for BioDigital Backend Services All callback functions are optional to implement
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Called when the sdk validation succeeds
    default void
    onModelDownloaded(String modelId, Integer count, Integer total)
    Called when a model is downloaded successfully
    default void
    Called when a model is downloaded unsuccessfully
    default void
    Called when content from the BioDigital Content API is returned
    default 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

      default void onModelDownloaded(String modelId, Integer count, Integer total)
      Called when a model is downloaded successfully
      Parameters:
      modelId - the ID of the downloaded model
      count - the number of models downloaded in this session
      total - the count of models passed into the download session
    • onModelDownloadError

      default void onModelDownloadError(String modelId)
      Called when a model is downloaded unsuccessfully
      Parameters:
      modelId - the ID of the model that had a download error