Language

AwarePairingConfig.Builder.SetSupportedCipherSuites(Int32) Method

Definition

Set the supported cipher suites.

[Android.Runtime.Register("setSupportedCipherSuites", "(I)Landroid/net/wifi/aware/AwarePairingConfig$Builder;", "", ApiSince=36)]
public Android.Net.Wifi.Aware.AwarePairingConfig.Builder SetSupportedCipherSuites(int cipherSuites);
[<Android.Runtime.Register("setSupportedCipherSuites", "(I)Landroid/net/wifi/aware/AwarePairingConfig$Builder;", "", ApiSince=36)>]
member this.SetSupportedCipherSuites : int -> Android.Net.Wifi.Aware.AwarePairingConfig.Builder

Parameters

cipherSuites
Int32

cipher suites supported. Value is either 0 or a combination of the following: Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128; Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_256

Returns

the current Builder builder, enabling chaining of builder methods. This value cannot be null.

Attributes

Remarks

Set the supported cipher suites. If not set, default will be Characteristics.WIFI_AWARE_CIPHER_SUITE_NCS_PK_PASN_128

Android reference for android.net.wifi.aware.AwarePairingConfig.Builder.setSupportedCipherSuites.

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