UDN
Search public documentation:
PlatformInterfaceFramework
日本語訳
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
中国翻译
한국어
Interested in the Unreal Engine?
Visit the Unreal Technology site.
Looking for jobs and company info?
Check out the Epic games site.
Questions about support via UDN?
Contact the UDN Staff
UE3 Home > Mobile Home > PlatformInterface Framework
PlatformInterface Framework
Overview
- Cloud Document Storage - Using cloud document storage, such as Apple's iCloud platform.
- Facebook Integration - Integration with Facebook on the iOS platform.
- In Game Ads - Displaying in-game ads, such as with iAd on iOS.
- Micro Transactions - Purchasing products in game, such as In-App purchases on iOS.
- Twitter Integration - Integration with Twitter on the iOS platform.
PlatformInterfaceBase
PlatformInterfaceBase is the base class for all platform interface classes. Each platform interface extends from this class, adding its own functionality specific to the platform and defining its own delegate types.
Platform Interface Delegates
delegate PlatformInterfaceDelegate(const out PlatformInterfaceDelegateResult Result);
- AddDelegate [DelegateType] [InDelegate] -
- DelegateType - An
Intrepresenting the item in the enum of the subclass defining the types of delegates available. - InDelegate - A function matching the
PlatformInterfaceDelegatesignature to be assigned to the delegate.
- DelegateType - An
- ClearDelegate [DelegateType] [InDelegate] -
- DelegateType - An
Intrepresenting the item in the enum of the subclass defining the types of delegates available. - InDelegate - A function matching the
PlatformInterfaceDelegatesignature to be removed from the delegate.
- DelegateType - An
Platform Interface Data Containers
PlatformInterfaceDelegateResult. This is a struct consisting of the following:
- bSuccessful - A bool specifying if the action performed was successful.
- Data - The
PlatformInterfaceDatastruct holding any data returned from the action performed.PlatformInterfaceDatais a struct designed to hold generic data to be passed to a platform interface delegate. It consists of the following:- DataName - The
Namespecifying the optional tag for the data being returned. - Type - The
EPlatformInterfaceDataTypespecifying the type of data held. This determines which, if any, of the*Valueproperties is valid and contains data.- PIDT_None - Specifies no value property contains data.
- PIDT_Int - Specifies the IntValue property contains data.
- PIDT_Float - Specifies the FloatValue property contains data.
- PIDT_String - Specifies the StringValue property contains data.
- PIDT_Object - Specifies the ObjectValue property contains data.
- PIDT_Custom - Specifies more than one value property contains data.
- IntValue - Holds integer data for the struct.
- FloatValue - Holds float data for the struct.
- StringValue - Holds string data for the struct.
- ObjectValue - Holds Object data for the struct.
- DataName - The
