BluetoothGattService Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
| Nombre | Description |
|---|---|
| BluetoothGattService(UUID, GattServiceType) |
Cree un nuevo BluetoothGattService. |
| BluetoothGattService(IntPtr, JniHandleOwnership) |
Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución. |
BluetoothGattService(UUID, GattServiceType)
Cree un nuevo 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
Parámetros
- uuid
- UUID
UUID para este servicio
- serviceType
- GattServiceType
El tipo de este servicio, BluetoothGattService#SERVICE_TYPE_PRIMARY o BluetoothGattService#SERVICE_TYPE_SECONDARY
- Atributos
Comentarios
Cree un nuevo BluetoothGattService.
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.
Se aplica a
BluetoothGattService(IntPtr, JniHandleOwnership)
Constructor utilizado al crear representaciones administradas de objetos JNI; llamado por el tiempo de ejecución.
protected BluetoothGattService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Bluetooth.BluetoothGattService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Bluetooth.BluetoothGattService
Parámetros
- javaReference
-
IntPtr
nativeint
que IntPtrcontiene una referencia de objeto Java Native Interface (JNI).
- transfer
- JniHandleOwnership
un JniHandleOwnershipvalor de tipo que indica cómo controlar javaReference
Comentarios
Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.