Langue

BluetoothGattService Constructeurs

Définition

Surcharges

Nom Description
BluetoothGattService(UUID, GattServiceType)

Créez un BluetoothGattService.

BluetoothGattService(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

BluetoothGattService(UUID, GattServiceType)

Créez un 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

Paramètres

uuid
UUID

UUID pour ce service

serviceType
GattServiceType

Type de ce service, BluetoothGattService#SERVICE_TYPE_PRIMARY ou BluetoothGattService#SERVICE_TYPE_SECONDARY

Attributs

Remarques

Créez un BluetoothGattService.

Java documentation pour android.bluetooth.BluetoothGattService.BluetoothGattService(java.util.UUID, int).

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à

BluetoothGattService(IntPtr, JniHandleOwnership)

Constructeur utilisé lors de la création de représentations managées d’objets JNI ; appelée par le runtime.

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

Paramètres

javaReference
IntPtr

nativeint

Contenant IntPtrune référence d’objet Java Native Interface (JNI).

transfer
JniHandleOwnership

Indiquant JniHandleOwnershipcomment gérer javaReference

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à