Class InAppPurchaseComponent
The CameraCaptureComponent provides access to and maintains state for camera capture functionality.
Inherited Members
Namespace: UE4.MagicLeap
Assembly: UE4DotNet.dll
Syntax
public class InAppPurchaseComponent : ActorComponent
Remarks
The connection to the device's camera is managed internally. Users of this component are able to asynchronously capture camera images and footage to file. Alternatively, a camera image can be captured directly to texture. The user need only make the relevant asynchronous call and then register the appropriate success/fail event handlers for the operation's completion.
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static InAppPurchaseComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
InAppPurchaseComponent |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static InAppPurchaseComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
InAppPurchaseComponent |
TryGetItemsDetailsAsync(Byte)
Attempts to retrieve details for the specified items.
Declaration
public bool TryGetItemsDetailsAsync(byte ItemIDs)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | ItemIDs |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@brief This call instigates an items details query which is handled on a separate thread. The result of this asynchronous operation is reported back to the calling blueprint via the FGetItemsDetailsSuccess or FGetItemsDetailsFailure event handlers. @param ItemIDs An array of FString objects specifying the names of the items whose details will be queried. @return False if an items details query is already running, true otherwise.
TryGetPurchaseHistoryAsync(Int32)
Attempts to retrieve the app's purchase history.
Declaration
public bool TryGetPurchaseHistoryAsync(int InNumPages)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | InNumPages |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@brief This call instigates a purchase history request which is handled on a separate thread. The result of this asynchronous operation is reported back to the calling blueprint via the FGetPurchaseHistorySuccess or FGetPurchaseHistoryFailure event handlers. @param InNumPages Specifies the number of history pages to retrieve. @return False if a purchase history query is already running or InNumPages is less than or equal to zero, true otherwise.
TryPurchaseItemAsync(PurchaseItemDetails)
Attempts to purchase the specified item.
Declaration
public bool TryPurchaseItemAsync(PurchaseItemDetails ItemDetails)
Parameters
Type | Name | Description |
---|---|---|
PurchaseItemDetails | ItemDetails |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@brief This call instigates a purchase request which is handled on a separate thread. The result of this asynchronous operation is reported back to the calling blueprint via the FPurchaseConfirmationSuccess or FPurchaseConfirmationFailure event handlers. @param ItemDetails The details of the item to be purchased. @return False if a purchase confirmation is already running, true otherwise.
Operators
| Improve this Doc View SourceImplicit(IntPtr to InAppPurchaseComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator InAppPurchaseComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
InAppPurchaseComponent |