SKProductStorePromotionController.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UpdateAsync(SKProduct[]) |
Updates the product order on the device. |
UpdateAsync(SKProductStorePromotionVisibility, SKProduct) |
Updates the visibility of the specified product on the device. |
UpdateAsync(SKProduct[])
Updates the product order on the device.
public virtual System.Threading.Tasks.Task UpdateAsync (StoreKit.SKProduct[] storePromotionOrder);
abstract member UpdateAsync : StoreKit.SKProduct[] -> System.Threading.Tasks.Task
override this.UpdateAsync : StoreKit.SKProduct[] -> System.Threading.Tasks.Task
Parameters
- storePromotionOrder
- SKProduct[]
An array of products in the desired order.
Returns
A task that represents the asynchronous Update operation
Remarks
The UpdateAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.
To be added.
Applies to
UpdateAsync(SKProductStorePromotionVisibility, SKProduct)
Updates the visibility of the specified product on the device.
public virtual System.Threading.Tasks.Task UpdateAsync (StoreKit.SKProductStorePromotionVisibility promotionVisibility, StoreKit.SKProduct product);
abstract member UpdateAsync : StoreKit.SKProductStorePromotionVisibility * StoreKit.SKProduct -> System.Threading.Tasks.Task
override this.UpdateAsync : StoreKit.SKProductStorePromotionVisibility * StoreKit.SKProduct -> System.Threading.Tasks.Task
Parameters
- promotionVisibility
- SKProductStorePromotionVisibility
The new visibility.
- product
- SKProduct
The product whose visibility to update.
Returns
A task that represents the asynchronous Update operation