Lenguaje

BluetoothGattService Constructores

Definición

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.

Java documentación para android.bluetooth.BluetoothGattService.BluetoothGattService(java.util.UUID, int).

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.

Se aplica a