Condividi tramite


BluetoothGattService Classe

Definizione

Rappresenta un servizio GATT Bluetooth

[Android.Runtime.Register("android/bluetooth/BluetoothGattService", DoNotGenerateAcw=true)]
public class BluetoothGattService : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/bluetooth/BluetoothGattService", DoNotGenerateAcw=true)>]
type BluetoothGattService = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Ereditarietà
BluetoothGattService
Attributi
Implementazioni

Commenti

Documentazione java per android.bluetooth.BluetoothGattService.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Costruttori

BluetoothGattService(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

BluetoothGattService(UUID, GattServiceType)

Creare un nuovo BluetoothGattService.

Campi

ServiceTypePrimary
Obsoleti.

Servizio primario

ServiceTypeSecondary
Obsoleti.

Servizio secondario (incluso dai servizi primari)

Proprietà

Characteristics

Restituisce un elenco di caratteristiche incluse in questo servizio.

Class

Restituisce la classe di runtime di questo Objectoggetto .

(Ereditato da Object)
Creator

Rappresenta un servizio GATT Bluetooth

Handle

Handle per l'istanza di Android sottostante.

(Ereditato da Object)
IncludedServices

Ottenere l'elenco dei servizi GATT inclusi per questo servizio.

InstanceId

Restituisce l'ID istanza per questo servizio

JniIdentityHashCode

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
JniPeerMembers

Rappresenta un servizio GATT Bluetooth

MCharacteristics

Elenco delle caratteristiche incluse in questo servizio.

MIncludedServices

Elenco dei servizi inclusi per questo servizio.

PeerReference

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
ThresholdClass

Questa API supporta l'infrastruttura Mono per Android e non deve essere usata direttamente dal codice.

ThresholdType

Questa API supporta l'infrastruttura Mono per Android e non deve essere usata direttamente dal codice.

Type

Ottenere il tipo di questo servizio (primario/secondario)

Uuid

Restituisce l'UUID di questo servizio

Metodi

AddCharacteristic(BluetoothGattCharacteristic)

Aggiungere una caratteristica a questo servizio.

AddService(BluetoothGattService)

Aggiungere un servizio incluso al servizio.

Clone()

Crea e restituisce una copia di questo oggetto.

(Ereditato da Object)
DescribeContents()

Rappresenta un servizio GATT Bluetooth

Dispose()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
Dispose(Boolean)

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
Equals(Object)

Indica se un altro oggetto è "uguale a" questo.

(Ereditato da Object)
GetCharacteristic(UUID)

Restituisce una caratteristica con un UUID specificato dall'elenco di caratteristiche offerte da questo servizio.

GetHashCode()

Restituisce un valore del codice hash per l'oggetto.

(Ereditato da Object)
JavaFinalize()

Chiamato dal Garbage Collector su un oggetto quando Garbage Collection determina che non sono presenti altri riferimenti all'oggetto .

(Ereditato da Object)
Notify()

Riattiva un singolo thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
NotifyAll()

Riattiva tutti i thread in attesa del monitor dell'oggetto.

(Ereditato da Object)
SetHandle(IntPtr, JniHandleOwnership)

Imposta la proprietà Handle.

(Ereditato da Object)
ToArray<T>()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
ToString()

Restituisce una rappresentazione di stringa dell'oggetto.

(Ereditato da Object)
UnregisterFromRuntime()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
Wait()

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo <>una notifica</em> o <em>interrotto</em>.

(Ereditato da Object)
Wait(Int64)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)
Wait(Int64, Int32)

Fa sì che il thread corrente attenda finché non viene risvegliato, in genere ricevendo>< una notifica</em> o <em>interrotto</em> o fino a quando non è trascorsa una determinata quantità di tempo reale.

(Ereditato da Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

Rappresenta un servizio GATT Bluetooth

Implementazioni dell'interfaccia esplicita

IJavaPeerable.Disposed()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.DisposeUnlessReferenced()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.Finalized()

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.JniManagedPeerState

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

Rappresenta un servizio GATT Bluetooth

(Ereditato da Object)

Metodi di estensione

JavaCast<TResult>(IJavaObject)

Esegue una conversione del tipo di tipo controllato dal runtime Android.

JavaCast<TResult>(IJavaObject)

Rappresenta un servizio GATT Bluetooth

GetJniTypeName(IJavaPeerable)

Rappresenta un servizio GATT Bluetooth

Si applica a