BluetoothAdapter.CloseProfileProxy(ProfileType, IBluetoothProfile) 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.
Close the connection of the profile proxy to the Service.
[Android.Runtime.Register("closeProfileProxy", "(ILandroid/bluetooth/BluetoothProfile;)V", "")]
public void CloseProfileProxy(Android.Bluetooth.ProfileType unusedProfile, Android.Bluetooth.IBluetoothProfile? proxy);
[<Android.Runtime.Register("closeProfileProxy", "(ILandroid/bluetooth/BluetoothProfile;)V", "")>]
member this.CloseProfileProxy : Android.Bluetooth.ProfileType * Android.Bluetooth.IBluetoothProfile -> unit
Parameters
- unusedProfile
- ProfileType
The profile identifier used by earlier implementations to choose the close operation. Android 14 and later close the supplied proxy directly; Bluetooth Mainline updates may change this behavior on Android 13.
- proxy
- IBluetoothProfile
Profile proxy object
- Attributes
Remarks
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.