BluetoothGattService コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 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 を作成します。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
BluetoothGattService(IntPtr, JniHandleOwnership)
JNI オブジェクトのマネージド表現を作成するときに使用されるコンストラクター。ランタイムによって呼び出されます。
protected BluetoothGattService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Bluetooth.BluetoothGattService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Bluetooth.BluetoothGattService
パラメーター
- transfer
- JniHandleOwnership
JniHandleOwnership処理方法を示すjavaReference
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。