System.Tether.Manager.TTetheringProfile.OnStreamReceived
Delphi
procedure OnStreamReceived(const Sender: TObject; const AProfileId: string; const AStream: TStream; const ADescription: string); virtual; abstract;
C++
virtual void __fastcall OnStreamReceived(System::TObject* const Sender, const System::UnicodeString AProfileId, System::Classes::TStream* const AStream, const System::UnicodeString ADescription) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Tether.Manager.pas System.Tether.Manager.hpp |
System.Tether.Manager | TTetheringProfile |
Description
Handles an incoming stream that a connected remote profile sends.
When a connected remote profile sends a stream to your profile, you can read this stream from the AStream
parameter of OnStreamReceived.
OnStreamReceived receives the following parameters:
Sender
is the protocol that receives the stream from a connected remote profile.AProfileId
is the identifier of the connected remote profile that sends the stream.AStream
is the stream.ADescription
is a string that describes the content of the stream.
See Also
- System.Tether.Manager.TTetheringProtocol
- System.Tether.Manager.TTetheringProfileInfo.ProfileIdentifier
- System.Classes.TStream
- System.String