PlatformAPI

From RAD Studio API Documentation
Jump to: navigation, search

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:

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.
IOTADesignerDevice IOTADesignerDevice represents design-time information about a device.
IOTADesignerDeviceServices IOTADesignerDeviceServices provides procedures, functions, and properties to manage design-time devices.
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.
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.
TOTADevicePlatform (deprecated) TOTADevicePlatform defines a platform for a design-time device.
TOTADevicePlatforms (deprecated)
TOTAFileOverwriteControl TOTAFileOverwriteControl lets you define an approach to follow when dealing with file operations that would result in overwriting existing files.
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.
TOTARemotePathType TOTARemotePathType indicates the type of a file or folder within an SDK.
TOTARemoteProfileCredential TOTARemoteProfileCredential provides the credentials required to connect to a running instance of the Platform Assistant server.
TOTARemoteProfilePathItem TOTARemoteProfilePathItem represents a remote path defined in an SDK.
TOTASDKInfo TOTASDKInfo provides information about an SDK.
TOTAStatusbarPos TOTAStatusbarPos defines the position of the status bar of a design-time device.

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ドル;


Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=PlatformAPI&oldid=676770"