Sdílet prostřednictvím


SSLParameters.SetProtocols(String[]) Method

Definition

Sets the array of protocols.

[Android.Runtime.Register("setProtocols", "([Ljava/lang/String;)V", "GetSetProtocols_arrayLjava_lang_String_Handler")]
public virtual void SetProtocols (string[]? protocols);
[<Android.Runtime.Register("setProtocols", "([Ljava/lang/String;)V", "GetSetProtocols_arrayLjava_lang_String_Handler")>]
abstract member SetProtocols : string[] -> unit
override this.SetProtocols : string[] -> unit

Parameters

protocols
String[]

the array of protocols (or null)

Attributes

Remarks

Sets the array of protocols.

Java documentation for javax.net.ssl.SSLParameters.setProtocols(java.lang.String[]).

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