共用方式為


HandshakeCompletedEvent.Socket Property

Definition

Returns the socket which is the source of this event.

public virtual Javax.Net.Ssl.SSLSocket? Socket { [Android.Runtime.Register("getSocket", "()Ljavax/net/ssl/SSLSocket;", "GetGetSocketHandler")] get; }
[<get: Android.Runtime.Register("getSocket", "()Ljavax/net/ssl/SSLSocket;", "GetGetSocketHandler")>]
member this.Socket : Javax.Net.Ssl.SSLSocket

Property Value

the socket on which the connection was made.

Attributes

Remarks

Returns the socket which is the source of this event. (This is a convenience function, to let applications write code without type casts.)

Java documentation for javax.net.ssl.HandshakeCompletedEvent.getSocket().

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