Udostępnij za pośrednictwem


IBluetoothProfileServiceListener.OnServiceDisconnected(ProfileType) Method

Definition

Called to notify the client that this proxy object has been disconnected from the service.

[Android.Runtime.Register("onServiceDisconnected", "(I)V", "GetOnServiceDisconnected_IHandler:Android.Bluetooth.IBluetoothProfileServiceListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnServiceDisconnected (Android.Bluetooth.ProfileType profile);
[<Android.Runtime.Register("onServiceDisconnected", "(I)V", "GetOnServiceDisconnected_IHandler:Android.Bluetooth.IBluetoothProfileServiceListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnServiceDisconnected : Android.Bluetooth.ProfileType -> unit

Parameters

profile
ProfileType
  • One of #HEADSET or #A2DP
Attributes

Remarks

Java documentation for android.bluetooth.BluetoothProfile.ServiceListener.onServiceDisconnected(int).

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