Language

BluetoothGattService コンストラクター

定義

オーバーロード

Name 説明
BluetoothGattService(UUID, GattServiceType)

新しい BluetoothGattService を作成します。

BluetoothGattService(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

BluetoothGattService(UUID, GattServiceType)

新しい BluetoothGattService を作成します。

[Android.Runtime.Register(".ctor", "(Ljava/util/UUID;I)V", "")]
public BluetoothGattService(Java.Util.UUID? uuid, Android.Bluetooth.GattServiceType serviceType);
[<Android.Runtime.Register(".ctor", "(Ljava/util/UUID;I)V", "")>]
new Android.Bluetooth.BluetoothGattService : Java.Util.UUID * Android.Bluetooth.GattServiceType -> Android.Bluetooth.BluetoothGattService

パラメーター

uuid
UUID

このサービスの UUID

serviceType
GattServiceType

このサービスの種類( BluetoothGattService#SERVICE_TYPE_PRIMARY または BluetoothGattService#SERVICE_TYPE_SECONDARY

属性

注釈

新しい BluetoothGattService を作成します。

Javaドキュメント。

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

適用対象

BluetoothGattService(IntPtr, JniHandleOwnership)

JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。

protected BluetoothGattService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Bluetooth.BluetoothGattService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Bluetooth.BluetoothGattService

パラメーター

javaReference
IntPtr

nativeint

Java ネイティブ インターフェイス (JNI) オブジェクト参照を含むIntPtr。

transfer
JniHandleOwnership

JniHandleOwnership処理方法を示すjavaReference

注釈

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

適用対象