java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.AuthorizationState
it.tdlight.jni.TdApi.AuthorizationStateWaitEmailAddress
- Enclosing class:
- TdApi
TDLib needs the user's email
address to authorize. Call
setAuthenticationEmailAddress to
provide the email address, or directly
call checkAuthenticationEmailCode with
Apple ID/Google ID token if allowed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if authorization through Apple ID is allowed.booleanTrue, if authorization through Google ID is allowed.static final int -
Constructor Summary
ConstructorsConstructorDescriptionTDLib needs the user's email address to authorize.AuthorizationStateWaitEmailAddress(boolean allowAppleId, boolean allowGoogleId) TDLib needs the user's email address to authorize.TDLib needs the user's email address to authorize. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
allowAppleId
public boolean allowAppleIdTrue, if authorization through Apple ID is allowed. -
allowGoogleId
public boolean allowGoogleIdTrue, if authorization through Google ID is allowed. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AuthorizationStateWaitEmailAddress
public AuthorizationStateWaitEmailAddress()TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple ID/Google ID token if allowed. -
AuthorizationStateWaitEmailAddress
public AuthorizationStateWaitEmailAddress(boolean allowAppleId, boolean allowGoogleId) TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple ID/Google ID token if allowed.- Parameters:
allowAppleId- boolean True, if authorization through Apple ID is allowed.allowGoogleId- boolean True, if authorization through Google ID is allowed.
-
AuthorizationStateWaitEmailAddress
TDLib needs the user's email address to authorize. Call setAuthenticationEmailAddress to provide the email address, or directly call checkAuthenticationEmailCode with Apple ID/Google ID token if allowed.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructorin classTdApi.Object
-
serialize
- Specified by:
serializein classTdApi.Object- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-