BluetoothGattService Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| BluetoothGattService(UUID, GattServiceType) |
Creare un nuovo BluetoothGattService. |
| BluetoothGattService(IntPtr, JniHandleOwnership) |
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime. |
BluetoothGattService(UUID, GattServiceType)
Creare un nuovo 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
Parametri
- uuid
- UUID
UUID per questo servizio
- serviceType
- GattServiceType
Tipo di questo servizio o BluetoothGattService#SERVICE_TYPE_PRIMARYBluetoothGattService#SERVICE_TYPE_SECONDARY
- Attributi
Commenti
Creare un nuovo BluetoothGattService.
per android.bluetooth.BluetoothGattService.BluetoothGattService(java.util.UUID, int).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.
Si applica a
BluetoothGattService(IntPtr, JniHandleOwnership)
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.
protected BluetoothGattService(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Bluetooth.BluetoothGattService : nativeint * Android.Runtime.JniHandleOwnership -> Android.Bluetooth.BluetoothGattService
Parametri
- javaReference
-
IntPtr
nativeint
Oggetto IntPtrcontenente un riferimento all'oggetto JNI (Native Interface) Java.
- transfer
- JniHandleOwnership
Oggetto JniHandleOwnershipche indica come gestire javaReference
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.