Idioma

BluetoothGattService Construtores

Definição

Sobrecargas

Nome Description
BluetoothGattService(UUID, GattServiceType)

Crie um novo BluetoothGattService.

BluetoothGattService(IntPtr, JniHandleOwnership)

Um construtor usado ao criar representações gerenciadas de objetos JNI; chamado pelo runtime.

BluetoothGattService(UUID, GattServiceType)

Crie um novo 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

A UUID para este serviço

serviceType
GattServiceType

O tipo desse serviço ou BluetoothGattService#SERVICE_TYPE_PRIMARYBluetoothGattService#SERVICE_TYPE_SECONDARY

Atributos

Comentários

Crie um novo BluetoothGattService.

Java documentação para android.bluetooth.BluetoothGattService.BluetoothGattService(java.util.UUID, int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a

BluetoothGattService(IntPtr, JniHandleOwnership)

Um construtor usado ao criar representações gerenciadas de objetos JNI; chamado pelo runtime.

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

Parâmetros

javaReference
IntPtr

nativeint

Uma IntPtrreferência de objeto JNI (Java Native Interface).

transfer
JniHandleOwnership

Um JniHandleOwnershipque indica como lidar javaReference

Comentários

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a