BluetoothClass.HasService(ServiceClass) 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.
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.