Language

BluetoothClass.HasService(ServiceClass) メソッド

定義

指定したサービス クラスがこの BluetoothClassでサポートされている場合は true を返します。

[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

パラメーター

service
ServiceClass

有効なサービス クラス

返品

サービス クラスがサポートされている場合は true

属性

注釈

指定したサービス クラスがこの BluetoothClassでサポートされている場合は true を返します。

有効なサービス クラスは、 BluetoothClass.Serviceのパブリック定数です。 たとえば、「 BluetoothClass.Service#AUDIO 」のように入力します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象