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 Android 13 and earlier to choose which proxy type to close. Android 14 and later ignore this value and close the supplied proxy directly.
- 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.