Package it.tdlight.jni
Class TdApi.InputBackgroundLocal
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputBackground
it.tdlight.jni.TdApi.InputBackgroundLocal
- Enclosing class:
- TdApi
public static class TdApi.InputBackgroundLocal extends TdApi.InputBackground
A background from a local file.
-
Field Summary
Fields Modifier and Type Field Description TdApi.InputFile
background
Background file to use.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description InputBackgroundLocal()
A background from a local file.InputBackgroundLocal(TdApi.InputFile background)
A background from a local file.InputBackgroundLocal(DataInput input)
-
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.Object
serialize, toString
-
Field Details
-
background
Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
InputBackgroundLocal
public InputBackgroundLocal()A background from a local file. -
InputBackgroundLocal
A background from a local file.- Parameters:
background
- InputFile Background file to use. Only inputFileLocal and inputFileGenerated are supported. The file must be in JPEG format for wallpapers and in PNG format for patterns.
-
InputBackgroundLocal
- 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()
-