System.Tether.BluetoothAdapter.TTetheringBluetoothAdapter.GetClientPeer

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetClientPeer(const ProtocolId: TTetheringProtocolType): TTetheringCustomComm; override;

C++

virtual System::Tether::Comm::TTetheringCustomComm* __fastcall GetClientPeer(const System::UnicodeString ProtocolId);

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Tether.BluetoothAdapter.pas
System.Tether.BluetoothAdapter.hpp
System.Tether.BluetoothAdapter TTetheringBluetoothAdapter


Description

Renvoie un objet qu'un protocole du type de protocole spécifié peut utiliser pour des connexions en tant que client sur une communication Classic Bluetooth.

GetClientPeer fournit un objet d'une classe qui est prise en charge par les protocoles du type de protocole spécifié. GetClientPeer doit fournir une instance de TTetheringCustomComm pour communiquer sur Classic Bluetooth.

Si votre adaptateur ne prend pas en charge le type de protocole spécifié, GetClientPeer renvoie une valeur null.

Voir aussi