Class ResponseGetImages
-
- All Implemented Interfaces:
public class ResponseGetImages
-
-
Field Summary
Fields Modifier and Type Field Description public Map<ImageType, String>imagespublic StringnotPermittedPath
-
Constructor Summary
Constructors Constructor Description ResponseGetImages()ResponseGetImages(Map<ImageType, String> images)
-
Method Summary
Modifier and Type Method Description Map<ImageType, String>getImages()StringgetNotPermittedPath()The refused endpoint's path when this organization was not permitted to fetch these images, or nullfor a real response (ENG-52857).StringgetImage(ImageType imageType)StringtoString()static ResponseGetImagesparse(ResponseBody responseBody)-
-
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
nullfor 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.
-
parse
static ResponseGetImages parse(ResponseBody responseBody)
-
-
-
-