BluetoothClass.HasService(ServiceClass) Method

Definition

Return true if the specified service class is supported by this BluetoothClass.

[Android.Runtime.Register("hasService", "(I)Z", "")]
public bool HasService (Android.Bluetooth.ServiceClass service);
[<Android.Runtime.Register("hasService", "(I)Z", "")>]
member this.HasService : Android.Bluetooth.ServiceClass -> bool

Parameters

service
ServiceClass

valid service class

Returns

true if the service class is supported

Attributes

Remarks

Java documentation for android.bluetooth.BluetoothClass.hasService(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