Package it.tdlight.jni
Class TdApi.PageBlockMap
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.TdApi.PageBlockMap
- Enclosing class:
- TdApi
public static class TdApi.PageBlockMap extends TdApi.PageBlock
A map.
-
Field Summary
Fields Modifier and Type Field Description TdApi.PageBlockCaption
caption
Block caption.static int
CONSTRUCTOR
int
height
Map height.TdApi.Location
location
Location of the map center.int
width
Map width.int
zoom
Map zoom level. -
Constructor Summary
Constructors Constructor Description PageBlockMap()
A map.PageBlockMap(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption)
A map.PageBlockMap(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
location
Location of the map center. -
zoom
public int zoomMap zoom level. -
width
public int widthMap width. -
height
public int heightMap height. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
PageBlockMap
public PageBlockMap()A map. -
PageBlockMap
public PageBlockMap(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption)A map.- Parameters:
location
- Location Location of the map center.zoom
- int Map zoom level.width
- int Map width.height
- int Map height.caption
- PageBlockCaption Block caption.
-
PageBlockMap
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-