Class ResponseGetImages

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<ImageType, String> getImages()
      String getNotPermittedPath() The refused endpoint's path when this organization was not permitted to fetch these images, or null for a real response (ENG-52857).
      String getImage(ImageType imageType)
      String toString()
      static ResponseGetImages parse(ResponseBody responseBody)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResponseGetImages

        ResponseGetImages()
      • ResponseGetImages

        ResponseGetImages(Map<ImageType, String> images)
    • Method Detail

      • getNotPermittedPath

        @Nullable()@RestrictTo(value = RestrictTo.Scope.LIBRARY) String getNotPermittedPath()

        The refused endpoint's path when this organization was not permitted to fetch these images, or null for a real response (ENG-52857). Parsing does not fail on a refusal, because most callers only want the optional face crop and continue without it. The one screen whose whole purpose is to show the images (ResultsActivity) reads this and skips itself instead, after it delivers the score. Internal to the SDK: the bean is public, but this marker is not part of the integrator API.