Package it.tdlight.jni
Class TdApi.SetAlarm
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SetAlarm
- Enclosing class:
- TdApi
public static class TdApi.SetAlarm extends TdApi.Function
Succeeds after a specified amount of
time has passed. Can be called before initialization.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
double
seconds
Number of seconds before the function returns. -
Constructor Summary
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
seconds
public double secondsNumber of seconds before the function returns. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SetAlarm
public SetAlarm()Succeeds after a specified amount of time has passed. Can be called before initialization.Returns
Ok
-
SetAlarm
public SetAlarm(double seconds)Succeeds after a specified amount of time has passed. Can be called before initialization.Returns
Ok
- Parameters:
seconds
- double Number of seconds before the function returns.
-
SetAlarm
- 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()
-