Sdílet prostřednictvím


SSLSocket.AddHandshakeCompletedListener(IHandshakeCompletedListener) Method

Definition

Registers an event listener to receive notifications that an SSL handshake has completed on this connection.

[Android.Runtime.Register("addHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V", "GetAddHandshakeCompletedListener_Ljavax_net_ssl_HandshakeCompletedListener_Handler")]
public abstract void AddHandshakeCompletedListener (Javax.Net.Ssl.IHandshakeCompletedListener? listener);
[<Android.Runtime.Register("addHandshakeCompletedListener", "(Ljavax/net/ssl/HandshakeCompletedListener;)V", "GetAddHandshakeCompletedListener_Ljavax_net_ssl_HandshakeCompletedListener_Handler")>]
abstract member AddHandshakeCompletedListener : Javax.Net.Ssl.IHandshakeCompletedListener -> unit

Parameters

listener
IHandshakeCompletedListener

the HandShake Completed event listener

Attributes

Exceptions

if listener is null.

Remarks

Registers an event listener to receive notifications that an SSL handshake has completed on this connection.

Java documentation for javax.net.ssl.SSLSocket.addHandshakeCompletedListener(javax.net.ssl.HandshakeCompletedListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to