Available Methods
- User ( )
- Chat ( )
- Document ( )
- Message ( )
- EncryptedChat ( )
- StickerSetCovered ( )
- FileLocation ( )
- TL_decryptedMessageService ( )
- InputStickerSet ( )
- Dialog ( )
- ChatFull ( )
- PhotoSize ( )
- TL_encryptedChat ( )
- TL_account_password ( )
- TL_wallPaper ( )
- TL_messages_stickerSet ( )
- TL_account_getPassword ( )
- ChatParticipant ( )
- TL_passwordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow ( )
- TL_messageMediaVenue ( )
- DocumentAttribute ( )
- ChannelParticipant ( )
- TL_peerUser ( )
- InputFileLocation ( )
- InputFile ( )
- TL_channelForbidden ( )
- TL_peerLocated ( )
- TL_dialog ( )
- TL_auth_sentCodeTypeApp ( )
- TL_documentAttributeSticker ( )
- TL_auth_sentCodeTypeFlashCall ( )
- TL_decryptedMessageActionSetMessageTTL ( )
- TL_channels_checkUsername ( )
- TL_messageMediaPoll ( )
- TL_chatBannedRights ( )
- TL_chatEmpty ( )
- WebPage ( )
- TL_messages_getAttachedStickers ( )
- TL_chatFull ( )
- TL_decryptedMessageActionScreenshotMessages ( )
- StickerSet ( )
- TL_secureFile ( )
- TL_contact ( )
- TL_chatForbidden ( )
- TL_channelFull ( )
- TL_inputPeerEmpty ( )
- TL_labeledPrice ( )
- TL_messageActionPhoneCall ( )
- TL_document ( )
- TL_chatParticipantCreator ( )
- TL_auth_codeTypeCall ( )
- TL_phoneConnection ( )
- TL_documentAttributeFilename ( )
- TL_inputGeoPoint ( )
- TL_help_acceptTermsOfService ( )
- TL_account_getAuthorizationForm ( )
- TL_shippingOption ( )
- TL_contacts_resolveUsername ( )
- BotInlineResult ( )
- TL_payments_validatedRequestedInfo ( )
- TL_messageMediaEmpty ( )
- TL_inputStickeredMediaPhoto ( )
- TL_auth_sentCode ( )
- TL_auth_sentCodeTypeCall ( )
- KeyboardButton ( )
- TL_inputPeerChannel ( )
- TL_autoDownloadSettings ( )
- TL_channels_getParticipants ( )
- TL_messages_exportChatInvite ( )
- TL_messages_search ( )
- TL_payments_validateRequestedInfo ( )
- InputEncryptedFile ( )
- InputPeer ( )
- TL_phoneCallDiscardReasonDisconnect ( )
- TL_messageEncryptedAction ( )
- TL_inputPeerPhotoFileLocation ( )
- TL_channel ( )
- TL_replyInlineMarkup ( )
- TL_photoSize ( )
- TL_help_appUpdate ( )
- TL_maskCoords ( )
- TL_inputPhoneCall ( )
- TL_inputStickerSetEmpty ( )
- TL_inputChannelEmpty ( )
- TL_messageService ( )
- TL_inputPaymentCredentialsAndroidPay ( )
- TL_decryptedMessageActionDeleteMessages ( )
- PrivacyRule ( )
- TL_dialogFilterSuggested ( )
- TL_account_checkUsername ( )
- TL_account_updateProfile ( )
- TL_photoEmpty ( )
- TL_auth_codeTypeSms ( )
- TL_phone_discardCall ( )
- TL_privacyValueDisallowAll ( )
- TL_passwordKdfAlgoUnknown ( )
- TL_channelParticipantsAdmins ( )
- TL_inputMessagesFilterMusic ( )
- TL_account_sendConfirmPhoneCode ( )
- TL_inputDocument ( )
- TL_channels_inviteToChannel ( )
- TL_messages_discardEncryption ( )
- TL_chatPhoto ( )
- MessageMedia ( )
- TL_phone_receivedCall ( )
- TL_encryptedChatRequested ( )
- TL_inputPeerUser ( )
- TL_messages_getRecentLocations ( )
- TL_auth_resendCode ( )
- BotInfo ( )
- TL_documentAttributeAudio ( )
- TL_messages_createChat ( )
- TL_channels_joinChannel ( )
- TL_dataJSON ( )
- TL_upload_getCdnFileHashes ( )
- TL_userDeleted_old2 ( )
- TL_inputCheckPasswordSRP ( )
- TL_contacts_getStatuses ( )
- TL_fileLocationToBeDeprecated ( )
- TL_userEmpty ( )
- TL_channels_getAdminLog ( )
- TL_message ( )
- TL_inputPaymentCredentialsSaved ( )
- TL_channelAdminLogEventsFilter ( )
- TL_messages_startBot ( )
- TL_payments_sendPaymentForm ( )
- TL_channels_createChannel ( )
- TL_inputFileLocation ( )
- TL_channelParticipantAdmin ( )
- TL_payments_paymentForm ( )
- DecryptedMessageAction ( )
- TL_inputEncryptedFileLocation ( )
Related Classes
- java.io.File
- java.util.Collections
- android.os.Bundle
- android.content.Context
- android.view.View
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.net.Uri
- android.graphics.Canvas
- android.text.TextUtils
- android.view.MotionEvent
- android.graphics.drawable.Drawable
- android.widget.LinearLayout
- android.content.SharedPreferences
- android.widget.FrameLayout
- android.view.Gravity
- android.util.TypedValue
- android.graphics.PorterDuff
- android.animation.ObjectAnimator
- androidx.recyclerview.widget.RecyclerView
- androidx.recyclerview.widget.LinearLayoutManager
Java Code Examples for org.telegram.tgnet.TLRPC#TL_phoneConnection
The following examples show how to use
org.telegram.tgnet.TLRPC#TL_phoneConnection .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: VoIPController.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
public void setRemoteEndpoints(TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer){ if(endpoints.length==0){ throw new IllegalArgumentException("endpoints size is 0"); } for(int a=0; a<endpoints.length; a++){ TLRPC.TL_phoneConnection endpoint=endpoints[a]; if(endpoint.ip==null || endpoint.ip.length()==0){ throw new IllegalArgumentException("endpoint "+endpoint+" has empty/null ipv4"); } if(endpoint.peer_tag!=null && endpoint.peer_tag.length!=16){ throw new IllegalArgumentException("endpoint "+endpoint+" has peer_tag of wrong length"); } } ensureNativeInstance(); nativeSetRemoteEndpoints(nativeInst, endpoints, allowP2p, tcp, connectionMaxLayer); }
Example 2
Source File: VoIPController.java From TelePlus-Android with GNU General Public License v2.0 | 6 votes |
public void setRemoteEndpoints(TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer){ if(endpoints.length==0){ throw new IllegalArgumentException("endpoints size is 0"); } for(int a=0; a<endpoints.length; a++){ TLRPC.TL_phoneConnection endpoint=endpoints[a]; if(endpoint.ip==null || endpoint.ip.length()==0){ throw new IllegalArgumentException("endpoint "+endpoint+" has empty/null ipv4"); } if(endpoint.peer_tag!=null && endpoint.peer_tag.length!=16){ throw new IllegalArgumentException("endpoint "+endpoint+" has peer_tag of wrong length"); } } ensureNativeInstance(); nativeSetRemoteEndpoints(nativeInst, endpoints, allowP2p, tcp, connectionMaxLayer); }
Example 3
Source File: VoIPController.java From Telegram-FOSS with GNU General Public License v2.0 | 6 votes |
public void setRemoteEndpoints(TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer){ if(endpoints.length==0){ throw new IllegalArgumentException("endpoints size is 0"); } for(int a=0; a<endpoints.length; a++){ TLRPC.TL_phoneConnection endpoint=endpoints[a]; if(endpoint.ip==null || endpoint.ip.length()==0){ throw new IllegalArgumentException("endpoint "+endpoint+" has empty/null ipv4"); } if(endpoint.peer_tag!=null && endpoint.peer_tag.length!=16){ throw new IllegalArgumentException("endpoint "+endpoint+" has peer_tag of wrong length"); } } ensureNativeInstance(); nativeSetRemoteEndpoints(nativeInst, endpoints, allowP2p, tcp, connectionMaxLayer); }
Example 4
Source File: VoIPController.java From Telegram with GNU General Public License v2.0 | 6 votes |
public void setRemoteEndpoints(TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer){ if(endpoints.length==0){ throw new IllegalArgumentException("endpoints size is 0"); } for(int a=0; a<endpoints.length; a++){ TLRPC.TL_phoneConnection endpoint=endpoints[a]; if(endpoint.ip==null || endpoint.ip.length()==0){ throw new IllegalArgumentException("endpoint "+endpoint+" has empty/null ipv4"); } if(endpoint.peer_tag!=null && endpoint.peer_tag.length!=16){ throw new IllegalArgumentException("endpoint "+endpoint+" has peer_tag of wrong length"); } } ensureNativeInstance(); nativeSetRemoteEndpoints(nativeInst, endpoints, allowP2p, tcp, connectionMaxLayer); }
Example 5
Source File: VoIPController.java From TelePlus-Android with GNU General Public License v2.0 | votes |
private native void nativeSetRemoteEndpoints(long inst, TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer);
Example 6
Source File: VoIPController.java From TelePlus-Android with GNU General Public License v2.0 | votes |
private native void nativeSetRemoteEndpoints(long inst, TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer);
Example 7
Source File: VoIPController.java From Telegram-FOSS with GNU General Public License v2.0 | votes |
private native void nativeSetRemoteEndpoints(long inst, TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer);
Example 8
Source File: VoIPController.java From Telegram with GNU General Public License v2.0 | votes |
private native void nativeSetRemoteEndpoints(long inst, TLRPC.TL_phoneConnection[] endpoints, boolean allowP2p, boolean tcp, int connectionMaxLayer);