Language

BluetoothSocketSettings.Builder.SetAuthenticationRequired(Boolean) メソッド

定義

Bluetooth ソケットの認証要件を設定します。

[Android.Runtime.Register("setAuthenticationRequired", "(Z)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.BluetoothSocketSettings.Builder SetAuthenticationRequired(bool authenticationRequired);
[<Android.Runtime.Register("setAuthenticationRequired", "(Z)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)>]
member this.SetAuthenticationRequired : bool -> Android.Bluetooth.BluetoothSocketSettings.Builder

パラメーター

authenticationRequired
Boolean

このソケットに認証が必要な場合は true、それ以外の場合は false。

返品

このビルダー。 この値は null にすることはできません。

属性

注釈

Bluetooth ソケットの認証要件を設定します。

android.bluetooth.BluetoothSocketSettings.Builder.setAuthenticationRequiredの Android リファレンス。

このページの一部は、Androidオープンソースプロジェクトによって作成および共有された作業に基づく変更でありCreative Commons 2.5属性ライセンスに記載されている条件に従って使用されます。

適用対象