Package it.tdlight.jni
Class TdApi.AuthorizationStateWaitEncryptionKey
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthorizationState
it.tdlight.jni.TdApi.AuthorizationStateWaitEncryptionKey
- Enclosing class:
- TdApi
public static class TdApi.AuthorizationStateWaitEncryptionKey extends TdApi.AuthorizationState
TDLib needs an encryption key to
decrypt the local database.
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
boolean
isEncrypted
True, if the database is currently encrypted. -
Constructor Summary
Constructors Constructor Description AuthorizationStateWaitEncryptionKey()
TDLib needs an encryption key to decrypt the local database.AuthorizationStateWaitEncryptionKey(boolean isEncrypted)
TDLib needs an encryption key to decrypt the local database.AuthorizationStateWaitEncryptionKey(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
-
isEncrypted
public boolean isEncryptedTrue, if the database is currently encrypted. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
AuthorizationStateWaitEncryptionKey
public AuthorizationStateWaitEncryptionKey()TDLib needs an encryption key to decrypt the local database. -
AuthorizationStateWaitEncryptionKey
public AuthorizationStateWaitEncryptionKey(boolean isEncrypted)TDLib needs an encryption key to decrypt the local database.- Parameters:
isEncrypted
- boolean True, if the database is currently encrypted.
-
AuthorizationStateWaitEncryptionKey
- 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()
-