PlatformAPI
From RAD Studio API Documentation
The PlatformAPI unit provides interfaces to interact with and control RAD Studio aspects related to target platforms and devices.
You can use these interfaces to:
- Manage target platforms.
- Manage SDKs and connection profiles.
- List mobile devices and emulators or simulators detected by RAD Studio.
- Manage device-provisioning information.
- Manage the design-time information about devices.
- Handle connections between RAD Studio and the Platform Assistant server.
Contents
Classes
EPlatformNotSupported EPlatformNotSupported is the exception class for unsupported platform errors.
IOTAConnectionCallback IOTAConnectionCallback allows you to specify when to abort or retry a connection to the Platform Assistant server.
IOTADesignerDeviceServices IOTADesignerDeviceServices provides procedures, functions, and properties to manage design-time devices.
IOTADesignerOSEntry IOTADesignerOSEntry represents a platform.
IOTAExternalDevice IOTAExternalDevice represents a mobile device, emulator, or simulator.
IOTAExternalDeviceNotifier IOTAExternalDeviceNotifier lets you associate callbacks with events related to external devices.
IOTAExternalDeviceServices IOTAExternalDeviceServices provides procedures, functions, and properties to manage external devices.
IOTAMobileDevice (deprecated)
IOTAMobileDeviceNotifier IOTAMobileDeviceNotifier lets you associate callbacks with events related to design-time devices.
IOTAMobileDeviceServices (deprecated)
IOTAPlatformSDKNotifier IOTAPlatformSDKNotifier lets you associate callbacks with events related to SDKs.
IProjectPlatformInitialize You can implement the IProjectPlatformInitialize interface in a custom platform class so that the IDE calls your InitializeProject implementation when a user adds your custom platform to a project (IOTAProject).
Routines
ConfigurationDisplayTitle ConfigurationDisplayTitle returns the display name of the specified build configuration (IOTABuildConfiguration).
Types
TDeviceRecord TDeviceRecord provides information about an external device as returned by the Platform Assistant client.
TDeviceType TDeviceType is a type of device, either a physical device (
dtDevice), such as an iPhone, or a virtual device (dtEmulator), such as an Android emulator or an iOS simulator. TOTADeviceLayout TOTADeviceLayout represents the layout of a device for a specific orientation.
TOTADeviceOrientation TOTADeviceOrientation is a type of device orientation.
TOTADevicePlatforms (deprecated)
TOTAFileOverwriteControl TOTAFileOverwriteControl lets you define an approach to follow when dealing with file operations that would result in overwriting existing files.
TOTAMobileDeviceChangeAction TOTAMobileDeviceChangeAction defines a type of change in the IDE design-time devices.
TOTAPutFileFlags TOTAPutFileFlags are flags for a TOTAPutFileItem record that indicate how to handle the specified file after copying it to a remote system.
TOTAPutFileItem TOTAPutFileItem represents a file to copy from your local machine to a remote machine.
TOTARemoteFileInfo TOTARemoteFileInfo represents a file on a remote machine.
TOTARemoteProfileCredential TOTARemoteProfileCredential provides the credentials required to connect to a running instance of the Platform Assistant server.
Constants
AllPlatforms AllPlatforms: Integer = 194ドルDF;
btAdHoc btAdHoc: Integer = 1;
btAppStore btAppStore: Integer = 2;
btDebug btDebug: Integer = 0;
btNormal btNormal: Integer = 3;
cAndroid32ArmPlatform cAndroid32ArmPlatform: string = Android;
cAndroid64ArmPlatform cAndroid64ArmPlatform: string = Android64;
cAndroidFamilyName cAndroidFamilyName: string = Android;
cAndroidPlatform cAndroidPlatform: string = Android;
cAndroidServiceType cAndroidServiceType: string = AndroidServiceType;
ciOSDevice32Platform ciOSDevice32Platform: string = iOSDevice32;
ciOSDevice64Platform ciOSDevice64Platform: string = iOSDevice64;
ciOSDevicePlatform ciOSDevicePlatform: string = iOSDevice32;
ciOSFamilyName ciOSFamilyName: string = iOS;
ciOSSimulator32Platform ciOSSimulator32Platform: string = iOSSimulator;
ciOSSimulator64Platform ciOSSimulator64Platform: string = iOSSimulator64;
ciOSSimulatorPlatform ciOSSimulatorPlatform: string = iOSSimulator;
cLinux32Platform cLinux32Platform: string = Linux32;
cLinux64Platform cLinux64Platform: string = Linux64;
cLinuxFamilyName cLinuxFamilyName: string = Linux;
cOSFamilyDisplayNames cOSFamilyDisplayNames: :1;
cOSX32Platform cOSX32Platform: string = OSX32;
cOSX64Platform cOSX64Platform: string = OSX64;
cOSXFamilyName cOSXFamilyName: string = macOS;
cSrvTypeIntentLocal cSrvTypeIntentLocal: string = IntentLocal;
cSrvTypeIntentRemote cSrvTypeIntentRemote: string = IntentRemote;
cSrvTypeLocal cSrvTypeLocal: string = Local;
cSrvTypeRemote cSrvTypeRemote: string = Remote;
cUndefinedFamilyName cUndefinedFamilyName: string = Unknown;
cWin32Platform cWin32Platform: string = Win32;
cWin64Platform cWin64Platform: string = Win64;
cWinARMPlatform cWinARMPlatform: string = WinARM;
cWindowsFamilyName cWindowsFamilyName: string = Windows;
cWinIoT32Platform cWinIoT32Platform: string = WinIoT32;
cWinNX32Platform cWinNX32Platform: string = WinNX32;
dffComputerFactors dffComputerFactors: TOTADeviceFormFactors;
dffFormFactors dffFormFactors: TOTADeviceFormFactors;
dffPhoneFactors dffPhoneFactors: TOTADeviceFormFactors;
dffPlatforms dffPlatforms: TOTADevicePlatforms;
dffWearableFactors dffWearableFactors: TOTADeviceFormFactors;
fetCBuilderRemoteDebug fetCBuilderRemoteDebug: Integer = $A;
fetCUnitBinary fetCUnitBinary: Integer = 6;
fetDelphiLibraryRemoteDebug fetDelphiLibraryRemoteDebug: Integer = $B;
fetDelphiRemoteDebug fetDelphiRemoteDebug: Integer = 9;
fetDelphiUnitBinary fetDelphiUnitBinary: Integer = 7;
fetDll fetDll: Integer = 3;
fetExe fetExe: Integer = 1;
fetImportLibrary fetImportLibrary: Integer = 8;
fetLast fetLast: Integer = 8;
fetPackage fetPackage: Integer = 2;
fetPackageImportLibrary fetPackageImportLibrary: Integer = 5;
fetStaticLibrary fetStaticLibrary: Integer = 4;
fetUnknownType fetUnknownType: Integer = 0;
piBTAdHoc piBTAdHoc: Integer = 1ドルF;
piBTAppStore piBTAppStore: Integer = 20ドル;
piBTDebug piBTDebug: Integer = 1ドルE;
piBTNormal piBTNormal: Integer = 21ドル;