PlatformAPI

提供: RAD Studio API Documentation
移動先: 案内検索

PlatformAPI ユニットでは、ターゲット プラットフォームやデバイスに関連する、RAD Studio の側面とやり取りし制御するための、インターフェイスを提供します。

これらインターフェイスを使用して、次のことが行えます:


クラス

EPlatformNotSupportedEPlatformNotSupported は、サポートされていないプラットフォーム エラーのための例外クラスです。
IiOSPlatformProvisionAction
IOTAAndroidServicesManager
IOTAConnectionCallbackIOTAConnectionCallback では、プラットフォーム アシスタント サーバーへの接続の停止、再試行をいつするかを指定することができます。
IOTADesignerDevice IOTADesignerDevice は、デバイスについての設計時情報を表します。
IOTADesignerDevice190
IOTADesignerDevice220
IOTADesignerDeviceServices

IOTADesignerDeviceServices には、設計時デバイスを管理するための手続き、関数、プロパティが用意されています。

IOTADesignerDeviceServices190
IOTADesignerOSEntry IOTADesignerOSEntry は、プラットフォームを表します。
IOTADesignerOSEntry190
IOTAExternalDevice

IOTAExternalDevice は、モバイル デバイス、エミュレータ、またはシミュレータを表します。

IOTAExternalDeviceNotifier

IOTAExternalDeviceNotifier では、外部デバイスに関連するイベントとコールバックを関連付けできます。

IOTAExternalDeviceServices

IOTAExternalDeviceServices には、外部デバイスを管理する各種手続き、関数、プロパティが用意されています。

IOTAMobileDevice(非推奨)
IOTAMobileDeviceNotifier
IOTAMobileDeviceServices(非推奨)
IOTAPlatform
IOTAPlatform160
IOTAPlatform170
IOTAPlatform180
IOTAPlatform190
IOTAPlatform200
IOTAPlatform210
IOTAPlatform220
IOTAPlatform230
IOTAPlatformSDK
IOTAPlatformSDK180
IOTAPlatformSDKAndroid
IOTAPlatformSDKAndroid210
IOTAPlatformSDKNotifier

IOTAPlatformSDKNotifier では、コールバックを SDK に関係するイベントに関連付けることができます。

IOTAPlatformSDKOSX
IOTAPlatformSDKServices
IOTAPlatformSDKServices180
IOTAPlatformSDKServices190
IOTAPlatformSDKServices210
IOTAPlatformServices
IOTAPlatformServices160
IOTAPlatformServices220
IOTAPlatformServices230
IOTAProjectPlatforms
IOTAProjectPlatforms160
IOTARemoteProfile
IOTARemoteProfile170
IOTARemoteProfile210
IOTARemoteProfileNotifier
IOTARemoteProfileNotifier170
IOTARemoteProfileServices
IOTARemoteProfileServices160
IOTARemoteProfileServices170
IOTARemoteProfileServices180
IOTARemoteProfileServices190
IOTARemoteProfileServices230
IPlatformContainerCategoryCreator
IPlatformContainerCreator
IPlatformProvisionInformation
IPlatformProvisionInformation180
IPlatformProvisionInformation220
IPlatformResources
IPlatformSpecificBuildAction
IProjectPlatformInitialize

ユーザーがカスタム プラットフォームをプロジェクト(IOTAProject)に追加したとき、IDE がユーザーの InitializeProject 実装を呼び出すように、IProjectPlatformInitialize インターフェイスをカスタム プラットフォーム クラスに実装できます。

ルーチン

ConfigurationDisplayTitle

ConfigurationDisplayTitle は指定ビルド構成(IOTABuildConfiguration)の表示名を返します。

TDeviceRecord
TDeviceType
TEntitlement
TOTABuildType
TOTABuildTypeConfig
TOTADesignerDevicesTOTADesignerDevices は、設計時デバイスの配列です。
TOTADesignerOSList
TOTADeviceFormFactor
TOTADeviceFormFactors
TOTADeviceLayout TOTADeviceLayout は、特定の方向に対する、デバイスのレイアウトを表します。
TOTADeviceOrientation TOTADeviceOrientation は、デバイスの方向のタイプです。
TOTADevicePlatform(非推奨)TOTADevicePlatform は、設計時デバイスに対するプラットフォームを定義します。
TOTADevicePlatforms(非推奨)
TOTADeviceStatus
TOTAExternalDevices
TOTAFileOverwriteControl
TOTAMobileDeviceChangeAction
TOTAOSFamilies
TOTAOSFamily
TOTAPlatforms
TOTAPlatformSDKStatus
TOTAProgressType
TOTAPutFileArray
TOTAPutFileFlags TOTAPutFileFlagsTOTAPutFileItem レコード のフラグで、指定されたファイルを、リモート システムにコピーした後に、それを処理する方法を示します。
TOTAPutFileItem
TOTARemoteFileInfo
TOTARemoteFileInfoArray
TOTARemotePathType
TOTARemoteProfileCredential
TOTARemoteProfilePathArray
TOTARemoteProfilePathItem TOTARemoteProfilePathItem は、SDK で定義されたリモート パスを表します。
TOTARemoteProfileStatus
TOTASDKInfo
TOTASDKInfoArray
TOTAStatusbarPos TOTAStatusbarPos は、設計時デバイスのステータス バーの位置を定義します。
TPlatformSupportsOperation
TProvisionProfileInfo
TProvisionProfileInfoArray

定数

AllPlatformsAllPlatforms: Integer = $C7F;
btAdHocbtAdHoc: Integer = 1;
btAppStorebtAppStore: Integer = 2;
btDebugbtDebug: Integer = 0;
btNormalbtNormal: Integer = 3;
cAndroidFamilyNamecAndroidFamilyName: string = Android;
cAndroidPlatformcAndroidPlatform: string = Android;
cAndroidServiceTypecAndroidServiceType: string = AndroidServiceType;
ciOSDevice32PlatformciOSDevice32Platform: string = iOSDevice32;
ciOSDevice64PlatformciOSDevice64Platform: string = iOSDevice64;
ciOSDevicePlatformciOSDevicePlatform: string = iOSDevice32;
ciOSFamilyNameciOSFamilyName: string = iOS;
ciOSSimulatorPlatformciOSSimulatorPlatform: string = iOSSimulator;
cLinux32PlatformcLinux32Platform: string = Linux32;
cLinux64PlatformcLinux64Platform: string = Linux64;
cLinuxFamilyNamecLinuxFamilyName: string = Linux;
cOSFamilyDisplayNamescOSFamilyDisplayNames: :1;
cOSX32PlatformcOSX32Platform: string = OSX32;
cOSXFamilyNamecOSXFamilyName: string = OSX;
cSrvTypeIntentLocalcSrvTypeIntentLocal: string = IntentLocal;
cSrvTypeIntentRemotecSrvTypeIntentRemote: string = IntentRemote;
cSrvTypeLocalcSrvTypeLocal: string = Local;
cSrvTypeRemotecSrvTypeRemote: string = Remote;
cUndefinedFamilyNamecUndefinedFamilyName: string = Unknown;
cWin32PlatformcWin32Platform: string = Win32;
cWin64PlatformcWin64Platform: string = Win64;
cWinARMPlatformcWinARMPlatform: string = WinARM;
cWindowsFamilyNamecWindowsFamilyName: string = Windows;
cWinIoT32PlatformcWinIoT32Platform: string = WinIoT32;
cWinNX32PlatformcWinNX32Platform: string = WinNX32;
dffComputerFactorsdffComputerFactors: TOTADeviceFormFactors;
dffFormFactorsdffFormFactors: TOTADeviceFormFactors;
dffPhoneFactorsdffPhoneFactors: TOTADeviceFormFactors;
dffPlatformsdffPlatforms: TOTADevicePlatforms;
dffWearableFactorsdffWearableFactors: TOTADeviceFormFactors;
fetCBuilderRemoteDebugfetCBuilderRemoteDebug: Integer = $A;
fetCUnitBinaryfetCUnitBinary: Integer = 6;
fetDelphiLibraryRemoteDebugfetDelphiLibraryRemoteDebug: Integer = $B;
fetDelphiRemoteDebugfetDelphiRemoteDebug: Integer = 9;
fetDelphiUnitBinaryfetDelphiUnitBinary: Integer = 7;
fetDllfetDll: Integer = 3;
fetExefetExe: Integer = 1;
fetImportLibraryfetImportLibrary: Integer = 8;
fetLastfetLast: Integer = 8;
fetPackagefetPackage: Integer = 2;
fetPackageImportLibraryfetPackageImportLibrary: Integer = 5;
fetStaticLibraryfetStaticLibrary: Integer = 4;
fetUnknownTypefetUnknownType: Integer = 0;
piBTAdHocpiBTAdHoc: Integer = $1F;
piBTAppStorepiBTAppStore: Integer = $20;
piBTDebugpiBTDebug: Integer = $1E;
piBTNormalpiBTNormal: Integer = $21;