java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.PageBlock
it.tdlight.jni.TdApi.PageBlockMap
- Enclosing class:
- TdApi
A map.
-
Field Summary
Modifier and TypeFieldDescriptionBlock caption.static final int
Identifier uniquely determining type of the object.int
Map height.Location of the map center.int
Map width.int
Map zoom level. -
Constructor Summary
ConstructorDescriptionA map.PageBlockMap
(TdApi.Location location, int zoom, int width, int height, TdApi.PageBlockCaption caption) A map.PageBlockMap
(DataInput input) A map. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods 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 CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
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 of the map center.zoom
- Map zoom level.width
- Map width.height
- Map height.caption
- Block caption.
-
PageBlockMap
A map.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-