BluetoothSocketSettings.Builder.SetRfcommServiceName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the RFCOMM service name associated with the Bluetooth socket.
[Android.Runtime.Register("setRfcommServiceName", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)]
public Android.Bluetooth.BluetoothSocketSettings.Builder SetRfcommServiceName(string rfcommServiceName);
[<Android.Runtime.Register("setRfcommServiceName", "(Ljava/lang/String;)Landroid/bluetooth/BluetoothSocketSettings$Builder;", "", ApiSince=36)>]
member this.SetRfcommServiceName : string -> Android.Bluetooth.BluetoothSocketSettings.Builder
Parameters
- rfcommServiceName
- String
The RFCOMM service name. This value cannot be null.
Returns
This builder.
- Attributes
Remarks
Sets the RFCOMM service name associated with the Bluetooth socket.
Android reference for android.bluetooth.BluetoothSocketSettings.Builder.setRfcommServiceName.
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.