表示: Object Pascal C++
表示設定

System.Tether.Manager.TTetheringCommand

提供: Appmethod Libraries
移動先: 案内, 検索

Object Pascal

  TTetheringCommand = record
  private
    FCommandType: TTetheringCommandType;
    FCommand: string;
    FParameters: TArray<string>;
    FData: TObject;
    Version: Integer;
  const
    CommandSep = '$';
    CommandsLength = 11;
    ParameterSep = '#';
  public
    constructor Create(const ACommand: string; AVersion: Integer; const AParameters: array of string; const AData: TObject = nil); overload;
    constructor Create(const ACommand: string; AVersion: Integer; const AParameters: TArray<string>; const AData: TObject = nil); overload;
    constructor Create(AType: TTetheringCommandType; const ACommand: string; AVersion: Integer;
      const AParameters: TArray<string> = nil; const AData: TObject = nil); overload;
    constructor Create(AType: TTetheringCommandType; const ACommand: string; AVersion: Integer;
      const AParameters: array of string; const AData: TObject = nil); overload;
    constructor Create(const ACommand: string; AVersion: Integer); overload;
    constructor Create(const RawData: TBytes); overload;
    function ToString: string;
    function ToBytes: TBytes;
    property CommandType: TTetheringCommandType read FCommandType;
    property Command: string read FCommand;
    property Data: TObject read FData;
    property Parameters: TArray<string> read FParameters;
  end;

C++

struct DECLSPEC_DRECORD TTetheringCommand
{
private:
    TTetheringCommandType FCommandType;
    System::UnicodeString FCommand;
#ifndef _WIN64
    System::DynamicArray<System::UnicodeString> FParameters;
#else /* _WIN64 */
    System::TArray__1<System::UnicodeString> FParameters;
#endif /* _WIN64 */
    System::TObject* FData;
    int Version;
    static const System::WideChar CommandSep = (System::WideChar)(0x24);
    static const System::Int8 CommandsLength = System::Int8(0xb);
    static const System::WideChar ParameterSep = (System::WideChar)(0x23);
public:
    __fastcall TTetheringCommand(const System::UnicodeString ACommand, int AVersion, System::UnicodeString const *AParameters, const int AParameters_High, System::TObject* const AData)/* overload */;
#ifndef _WIN64
    __fastcall TTetheringCommand(const System::UnicodeString ACommand, int AVersion, const System::DynamicArray<System::UnicodeString> AParameters, System::TObject* const AData)/* overload */;
    __fastcall TTetheringCommand(TTetheringCommandType AType, const System::UnicodeString ACommand, int AVersion, const System::DynamicArray<System::UnicodeString> AParameters, System::TObject* const AData)/* overload */;
#else /* _WIN64 */
    __fastcall TTetheringCommand(const System::UnicodeString ACommand, int AVersion, const System::TArray__1<System::UnicodeString> AParameters, System::TObject* const AData)/* overload */;
    __fastcall TTetheringCommand(TTetheringCommandType AType, const System::UnicodeString ACommand, int AVersion, const System::TArray__1<System::UnicodeString> AParameters, System::TObject* const AData)/* overload */;
#endif /* _WIN64 */
    __fastcall TTetheringCommand(TTetheringCommandType AType, const System::UnicodeString ACommand, int AVersion, System::UnicodeString const *AParameters, const int AParameters_High, System::TObject* const AData)/* overload */;
    __fastcall TTetheringCommand(const System::UnicodeString ACommand, int AVersion)/* overload */;
#ifndef _WIN64
    __fastcall TTetheringCommand(const System::DynamicArray<System::Byte> RawData)/* overload */;
#else /* _WIN64 */
    __fastcall TTetheringCommand(const System::TArray__1<System::Byte> RawData)/* overload */;
#endif /* _WIN64 */
    System::UnicodeString __fastcall ToString(void);
#ifndef _WIN64
    System::DynamicArray<System::Byte> __fastcall ToBytes(void);
#else /* _WIN64 */
    System::TArray__1<System::Byte> __fastcall ToBytes(void);
#endif /* _WIN64 */
    __property TTetheringCommandType CommandType = {read=FCommandType};
    __property System::UnicodeString Command = {read=FCommand};
    __property System::TObject* Data = {read=FData};
#ifndef _WIN64
    __property System::DynamicArray<System::UnicodeString> Parameters = {read=FParameters};
#else /* _WIN64 */
    __property System::TArray__1<System::UnicodeString> Parameters = {read=FParameters};
#endif /* _WIN64 */
    TTetheringCommand() {}
};

プロパティ

種類 可視性 ソース ユニット
record
struct
public
System.Tether.Manager.pas
System.Tether.Manager.hpp
System.Tether.Manager System.Tether.Manager


説明

一方のアプリケーションでアプリケーション テザリングを使ってもう一方のアプリケーションに送信できるコマンドを表すレコードです。

関連項目

個人用ツール
他の言語