public class TLInputAppEvent extends TLObject
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
Constructor and Description |
---|
TLInputAppEvent()
Instantiates a new TL input app event.
|
Modifier and Type | Method and Description |
---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
String |
getData()
Gets data.
|
long |
getPeer()
Gets peer.
|
double |
getTime()
Gets time.
|
String |
getType()
Gets type.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setData(String value)
Sets data.
|
void |
setPeer(long value)
Sets peer.
|
void |
setTime(double value)
Sets time.
|
void |
setType(String value)
Sets type.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serialize
public static final int CLASS_ID
public int getClassId()
TLObject
getClassId
in class TLObject
public double getTime()
public void setTime(double value)
value
- the valuepublic String getType()
public void setType(String value)
value
- the valuepublic long getPeer()
public void setPeer(long value)
value
- the valuepublic String getData()
public void setData(String value)
value
- the valuepublic void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2016. All rights reserved.