SSLSocket.AddHandshakeCompletedListener(IHandshakeCompletedListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.