类 ImageResult

java.lang.Object
ai.nextbillion.maps.ImageResult
所有已实现的接口:
java.io.Serializable

public class ImageResult
extends java.lang.Object
implements java.io.Serializable
ImageResult is the object returned from API end points that return images.
另请参阅:
序列化表格
  • 嵌套类概要

    嵌套类 
    修饰符和类型 说明
    static class  ImageResult.Response
    ImageResult.Response is a type system hack to enable API endpoints to return a ImageResult.
  • 字段概要

    字段 
    修饰符和类型 字段 说明
    java.lang.String contentType
    The Content-Type header of the returned result.
    byte[] imageData
    The image data from the Photos API call.
  • 构造器概要

    构造器 
    构造器 说明
    ImageResult​(java.lang.String contentType, byte[] imageData)  
  • 方法概要

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • imageData

      public final byte[] imageData
      The image data from the Photos API call.
    • contentType

      public final java.lang.String contentType
      The Content-Type header of the returned result.
  • 构造器详细资料

    • ImageResult

      public ImageResult​(java.lang.String contentType, byte[] imageData)