Interface HKServicesInterface


public interface HKServicesInterface
Callback functions for BioDigital Backend Services
  • Method Summary

    Modifier and Type Method Description
    void onInvalidSDK()
    Called when the SDK validation succeeds
    void onModelDownloaded​(java.lang.String modelId, java.lang.Integer count, java.lang.Integer total)
    Called when a model is downloaded successfully
    void onModelDownloadError​(java.lang.String modelId)
    Called when a model is downloaded unsuccessfully
    void onModelsLoaded()
    Called when content from the BioDigital Content API is returned
    void onValidSDK()
    Called when the SDK validation fails
  • Method Details

    • onModelsLoaded

      void onModelsLoaded()
      Called when content from the BioDigital Content API is returned
    • onValidSDK

      void onValidSDK()
      Called when the SDK validation fails
    • onInvalidSDK

      void onInvalidSDK()
      Called when the SDK validation succeeds
    • onModelDownloaded

      void onModelDownloaded​(java.lang.String modelId, java.lang.Integer count, java.lang.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

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