BluetoothGattServer クラス

定義

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

[Android.Runtime.Register("android/bluetooth/BluetoothGattServer", DoNotGenerateAcw=true)]
public sealed class BluetoothGattServer : Java.Lang.Object, Android.Bluetooth.IBluetoothProfile, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/bluetooth/BluetoothGattServer", DoNotGenerateAcw=true)>]
type BluetoothGattServer = class
    inherit Object
    interface IBluetoothProfile
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
継承
BluetoothGattServer
属性
実装

注釈

android.bluetooth.BluetoothGattServerJava ドキュメント。

このページの一部は、によって作成および共有された作業に基づく変更であり、に記載されている条件に従って使用されます。

プロパティ

Class

この Objectのランタイム クラスを返します。

(継承元 Object)
ConnectedDevices

サポートされていません - 引数として をBluetoothProfile#GATT使用BluetoothManager#getConnectedDevices(int)してください

Handle

基になる Android インスタンスへのハンドル。

(継承元 Object)
JniIdentityHashCode

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
JniPeerMembers

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

PeerReference

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
Services

このデバイスによって提供される GATT サービスの一覧を返します。

ThresholdClass

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)
ThresholdType

この API は Mono for Android インフラストラクチャをサポートしており、コードから直接使用するためのものではありません。

(継承元 Object)

メソッド

AddService(BluetoothGattService)

ホストするサービスの一覧にサービスを追加します。

CancelConnection(BluetoothDevice)

確立された接続を切断するか、現在進行中の接続試行を取り消します。

ClearServices()

提供されているサービスの一覧からすべてのサービスを削除します。

Clone()

このオブジェクトのコピーを作成して返します。

(継承元 Object)
Close()

この GATT サーバー インスタンスを閉じます。

Connect(BluetoothDevice, Boolean)

Bluetooth GATT 対応デバイスへの接続を開始します。

Dispose()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
Dispose(Boolean)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
Equals(Object)

他のオブジェクトがこのオブジェクトと "等しい" かどうかを示します。

(継承元 Object)
GetConnectionState(BluetoothDevice)

サポートされていません - 引数として をBluetoothProfile#GATT使用BluetoothManager#getConnectedDevices(int)してください

GetDevicesMatchingConnectionStates(ProfileState[])

サポートされていません - を使用してくださいBluetoothManager#getDevicesMatchingConnectionStates(int, int[]) を最初の引数として使用 BluetoothProfile#GATT する

GetHashCode()

オブジェクトのハッシュ コード値を返します。

(継承元 Object)
GetService(UUID)

このデバイスによって提供されるサービスの一覧から を BluetoothGattService 返します。

JavaFinalize()

オブジェクトへの参照がなくなったとガベージ コレクションが判断したときに、オブジェクトのガベージ コレクターによって呼び出されます。

(継承元 Object)
Notify()

このオブジェクトのモニターで待機している 1 つのスレッドを起動します。

(継承元 Object)
NotifyAll()

このオブジェクトのモニターで待機しているすべてのスレッドを起動します。

(継承元 Object)
NotifyCharacteristicChanged(BluetoothDevice, BluetoothGattCharacteristic, Boolean)

ローカル特性が更新されたことを示す通知または通知を送信します。

NotifyCharacteristicChanged(BluetoothDevice, BluetoothGattCharacteristic, Boolean, Byte[])

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

ReadPhy(BluetoothDevice)

接続の現在の送信機 PHY とレシーバー PHY を読み取ります。

RemoveService(BluetoothGattService)

提供するサービスの一覧からサービスを削除します。

SendResponse(BluetoothDevice, Int32, GattStatus, Int32, Byte[])

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

SendResponse(BluetoothDevice, Int32, ProfileState, Int32, Byte[])

リモート デバイスに対する読み取りまたは書き込み要求に応答を送信します。

SetHandle(IntPtr, JniHandleOwnership)

Handle プロパティを設定します。

(継承元 Object)
SetPreferredPhy(BluetoothDevice, BluetoothPhy, BluetoothPhy, BluetoothPhyOption)

このアプリの優先接続 PHY を設定します。

ToArray<T>()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
ToString()

オブジェクトの文字列形式を返します。

(継承元 Object)
UnregisterFromRuntime()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
Wait()

現在のスレッドが起動するまで待機します。通常<は、通知</em> または>< em 中断</em によって待機します>。>

(継承元 Object)
Wait(Int64)

現在のスレッドが起動するまで待機します。通常<は、通知></em> または <>em 中断</em>、または特定のリアルタイムが経過するまで待機します。

(継承元 Object)
Wait(Int64, Int32)

現在のスレッドが起動するまで待機します。通常<は、通知></em> または <>em 中断</em>、または特定のリアルタイムが経過するまで待機します。

(継承元 Object)

明示的なインターフェイスの実装

IJavaPeerable.Disposed()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.DisposeUnlessReferenced()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.Finalized()

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.JniManagedPeerState

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.SetJniIdentityHashCode(Int32)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)
IJavaPeerable.SetPeerReference(JniObjectReference)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

(継承元 Object)

拡張メソッド

JavaCast<TResult>(IJavaObject)

Android ランタイムチェック型変換を実行します。

JavaCast<TResult>(IJavaObject)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

GetJniTypeName(IJavaPeerable)

Bluetooth GATT プロファイル サーバー ロールのパブリック API。

適用対象