次の方法で共有


SSLSockets.IsSupportedSocket(SSLSocket) Method

Definition

Returns whether the given socket can be used with the methods in this class.

[Android.Runtime.Register("isSupportedSocket", "(Ljavax/net/ssl/SSLSocket;)Z", "", ApiSince=29)]
public static bool IsSupportedSocket (Javax.Net.Ssl.SSLSocket socket);
[<Android.Runtime.Register("isSupportedSocket", "(Ljavax/net/ssl/SSLSocket;)Z", "", ApiSince=29)>]
static member IsSupportedSocket : Javax.Net.Ssl.SSLSocket -> bool

Parameters

socket
SSLSocket

Returns

Attributes

Remarks

Returns whether the given socket can be used with the methods in this class. In general, only sockets from the platform TLS provider are supported.

Java documentation for android.net.ssl.SSLSockets.isSupportedSocket(javax.net.ssl.SSLSocket).

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